My favorites | Sign in
Project Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
                
Show all Featured downloads:
webforms2-0.5.4.zip
People details
Project owners:
  WestonRuter

Update, 3 June 2009: Now that the Web Forms 2.0 has been edited into HTML5, this project will seek to implement as much of the HTML5 Forms section as possible. This will be a complete rewrite of the codebase. Restarting this project will commence as time permits.

A cross-browser implementation of the WHATWG Web Forms 2.0 specification. This specification is currently a mature working draft and has been adopted by the W3C HTML Working Group to serve as a starting point for the next version of HTML. This implementation will follow the HTML 5 specification that evolves from the W3C process.

The implementation has been tested and should function in:

Implemented Features

For more information on the implemented features, see the implementation details.

Usage

Load webforms2.js in the head of your document:

<script type='text/javascript' src='webforms2.js'></script>

Or you may include the compressed version of this file (via Dean Edwards' packer along with other optimizations):

<script type='text/javascript' src='webforms2-p.js'></script>

It is important that the file webforms2.css and webforms2-msie.js both be located in the same directory as webforms2.js or webforms2-p.js (whichever you decide to use). For users of Internet Explorer, the file webforms2-msie.js is part of a hack that ensures that the Web Forms 2.0 functionality is initialized before the load event.

Alternatively, you may install a user script that enables testing (and usage) on any site.

Once the library has been included, then write HTML and JavaScript that take advantage of the features that Web Forms 2.0 specifies. In authoring XHTML pages using Web Forms 2.0, you may include the following DTDs to validate your code (these DTDs have passed validation but they have not been verified to correctly validate a WF2 document; please attempt to do so and write in with the results):

Feedback

Either start a new discussion in this implementation's group, send me your personal comments and suggestions via my feedback form, or if you find a bug, you may file an issue.

Donations

If you value this software, please donate to ensure that it may continue to be maintained and improved. Thank you!









Hosted by Google Code