[whatwg] Incremental rendering of forms

Ian Hickson ian at hixie.ch
Sun Aug 22 13:05:26 PDT 2004

On Thu, 5 Aug 2004, Olav Junker [iso-8859-1] Kjær wrote:
> In WF2 a form cannot be validated (and therefore not submitted) before 
> the whole page has been parsed. A control later in the document *could* 
> be declared by the form-attribute to belong to the form and that control 
> could be in an invalid state.

The second statement is true, but doesn't imply the first sentence.

If you have an incomplete document, you can submit forms in it. Those 
forms most likely will not be complete, will not be prefilled, and will be 
missing script related to them, but they can still be submitted.

> This problem could be solved by defining that a form only should validate
> the controls that have been parsed when the submission is triggered.

That's what the spec says.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list