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

[whatwg] Some questions to WF2

From: Olav Junker Kjr <olav@olav.dk>
Date: Fri, 10 Dec 2004 11:01:38 +0100
Message-ID: <41B97402.4000305@olav.dk>
Maniac wrote:
> May be then just specify new collection like 'form.validatedElements'? 
> It may be walked through without additional checking and allows not to 
> introduce confusing methods to other elements.

Thats a great idea. The collection could be defined almost as the 
successful attribute is defined now, except that is should be 
independent of the current value and validity of the control (i.e. 
checkboxes and radiobuttons in a form is part of the collection except 
if they have no name, are disabled or is part of a repetition template 
or datalist *but* irrespective of whether they are checked or not, and 
whether they are required or not).

Maybe it would also be useful to have access to the button that 
initiated the form submission. This should probably be through a 
property on the submit event object, since this is only meaningful 
during the submission event. The button should not be part of the 
collection though, since it can't be validated.

Olav Junker Kj?r
Received on Friday, 10 December 2004 02:01:38 UTC

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