W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

[whatwg] Incremental rendering of forms

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 22 Aug 2004 20:05:26 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0408222003010.20869@dhalsim.dreamhost.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 22 August 2004 13:05:26 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:36 UTC