required radio buttons and checkboxes

hi all,

I know we haven't got anything official about forms in the HTML5 docs
yet, but in WF2 there is the @required attribute to flag when controls
are required. I'm sure we're all looking forward to specifying
required fields in a consistent and simple manner.

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?

For what it's worth, I would love to see radio button and checkboxes
supported with more logical markup (like select1/select in xforms).
Has given me plenty of challenges creating consistent layouts for
forms that use label:text-input and legend:radio-buttons pairs ...
simplifying this would be nice (though would still be waiting some
time for backwards compatibility concerns to lessen...)

cheers
Ben

Received on Tuesday, 22 April 2008 10:57:58 UTC