Re: required radio buttons and checkboxes

On Tue, 22 Apr 2008, Ben Boyle wrote:
> 
> I was wondering how this works with radio buttons and checkboxes, given 
> there are multiple 'input' elements for the controls, is the 'required' 
> attribute needed on every input? What happens if it is inconsistently 
> applied to a group?

As specified, you need it on at least one in the group. Beyond that it 
doesn't matter.


> For what it's worth, I would love to see radio button and checkboxes 
> supported with more logical markup (like select1/select in xforms).

<select> provides the same semantic already, though with a different 
default rendering.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 5 November 2008 15:18:16 UTC