W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] Seeding a form with initial values

From: Sean Hogan <shogun70@westnet.com.au>
Date: Fri, 15 Dec 2006 13:30:32 +1100
Message-ID: <458208C8.4010201@westnet.com.au>
Query 1:
The way in which a FORM element with @data is seeded seems internally 
inconsistent:

CLEAR & REPEAT directives apply to RepetitionBlocks in the whole document.

but FIELD directives only apply to elements within the form. 

I would prefer FIELD directives to apply to the whole document - that 
seems consistent with current forms which retrieve a whole new page.
Although it does allow conflict between @data on different forms. 


Query 2:
The first step in the initialization algorithm (resetting the form) 
sounds wrong in the context of form submission. 
I assume the intention is that the reset() method is called, but the 
documentation says "reset to its initial values as specified in the 
markup". 
These two are the same when the document is initially loaded, but the 
form could easily be changed by the time of form submission. 



I apologize if these issues have already been discussed. 
Received on Thursday, 14 December 2006 18:30:32 UTC

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