Web Forms 2.0

Working Draft — [DATE: 01 Jan 1901]

This draft has been superseded by the Forms chapter of the HTML5 specification, which now includes many of the features first defined in this document.

This document will not be further updated.

This version:
Latest version:
Previous versions:
http://www.whatwg.org/specs/web-forms/2005-09-01/ (diffs)
http://www.whatwg.org/specs/web-forms/2005-07-03/ (diffs)
http://www.whatwg.org/specs/web-forms/2005-04-11-call-for-comments/ (diffs)
http://lists.w3.org/Archives/Member/w3c-archive/2003Sep/att-0014/hfp.html (W3C member-only link)
Ian Hickson, Google, ian@hixie.ch


This specification defines Web Forms 2.0, an extension to the forms features found in HTML4's Forms chapter and the corresponding DOM2 HTML interfaces. Web Forms 2.0 applies to both HTML and XHTML user agents. It provides new strongly-typed input fields, new attributes for defining constraints, a repeating model for declarative repeating of form sections, new DOM interfaces, new DOM events for validation and dependency tracking, and XML submission and initialization of forms. It also standardises and codifies existing practice in areas that have not been previously documented, and clarifies some of the interactions of HTML form controls and CSS.

HTML4, XHTML1.1, and the DOM are thus extended in a manner that has a clear migration path from existing HTML forms, leveraging the knowledge authors have built up with their experience with HTML so far.

Status of this document

This document is the result of a loose collaboration between interested parties in the context of the Web Hypertext Application Technology Working Group.

This is the working copy of Web Forms 2.0. If you wish to make comments regarding this document, please send them to whatwg@whatwg.org. All feedback is welcome.

This document is in the very final stages and will very shortly become a call for implementations.

To find the latest version of this specification, please follow the "Latest version" link above.

Table of contents