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

[whatwg] I dont like "successful"

From: Olav Junker Kjr <olav@olav.dk>
Date: Sun, 12 Dec 2004 22:53:30 +0100
Message-ID: <41BCBDDA.60201@olav.dk>
> Ian Hickson wrote:
> It needs two things -- whether the control is going to be checked, and 
> whether it is valid. You can have invalid controls that won't stop 
> submission (e.g. because they are disabled).

Right, there is need for a flag to indicate if a control should be 
validated and take part in submission. It should be true if:
- the control has a name
- the control is of a relevant type (e.g. not output, fieldset, button 
type=move-down etc.)
- the control is not disabled
- the control is not part of a repetition template or in a datalist

However, this flag should *not* be dependent on the constraints or 
current value of the control, since this is the concern of validation.

So this is different from the current definition of "successful" with 
respect to checkboxes, radiobuttons and file fields.


Olav Junker Kj?r
Received on Sunday, 12 December 2004 13:53:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:20 UTC