[Bug 16061] Required edit should be applicable to fieldset

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16061

Evert <evertvandansen@ymail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |evertvandansen@ymail.com

--- Comment #3 from Evert <evertvandansen@ymail.com> 2012-02-23 16:27:37 UTC ---
Would the way radiobuttons work with the required attribute also work with
checkboxes? Suppose you have a group of checkboxes from which the user is
required to select at least one? Wouldn't the required attribute be more
flexible on the fieldset?


As a sidenote: I never understood why there had to be both a checkbox and a
radiobutton. Perhaps a bit off-topic, but please consider:


1) a checkbox without a parent fieldset would be just a single checkbox.
2) A group of checkboxes in a fieldset with multiple=false would be a group of
radiobuttons
3) A group of checkboxes in a fieldset with multiple=true would be a group of
checkboxes
4) If fieldset has required set then at least 1 choice must be made from the
checkboxes.
5) optionally: required=x where x is an integer denoting the amount of choices
the user must make minimally.

All this would be backward compatible (or could at least be made so).

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 23 February 2012 16:27:41 UTC