[whatwg] WF2: Clarification on valueMissing requested
Ian Hickson
ian at hixie.ch
Mon Sep 25 21:23:25 PDT 2006
On Wed, 20 Sep 2006, Alex Vincent wrote:
>
> "The field has the required attribute set but has no value selected."
>
> In implementing this for Mozilla, I realized an edge case that could
> prove troublesome. Specifically, what happens if you have multiple
> radio or checkboxes with the required attribute and no boxes checked
> for any of them.
>
> Alternatively, consider when the radio button is checked but doesn't
> have a value... and some other radio input with the same name in the
> same form does have a value.
>
> There's an attempt to clarify it here:
>
> "When a radio group has no checked radio button and more than one of
> the radio buttons is marked as required, the UA should only tell the
> user that the radio group as a whole is missing a value, not complain
> about each radio button in turn, even though all of the radio buttons
> marked with the required attribute would have the valueMissing flag
> set."
>
> Tell the user how? Visually? Through DOM events? Both, or some
> other way? I'm working from the DOM events view right now, and this
> could be the difference between dispatching one event and dispatching
> many.
Clarified.
Let me know if that doesn't help.
--
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