ISSUE-111: What does input.@required mean for @type = checkbox?
checkbox-required
What does input.@required mean for @type = checkbox?
- State:
- CLOSED
- Product:
- HTML 5 spec
- Raised by:
- Maciej Stachowiak
- Opened on:
- 2010-04-28
- Description:
- Escalated from: http://www.w3.org/Bugs/Public/show_bug.cgi?id=9160
Escalation requested by: Brenton Simpson
This discussion revolves around the meaning of @required on a checkbox group in
a survey. By definition. a radio group must have only one choice selected if
it is required. A checkbox group functions identically to a radio group, but
it can have multiple checked values. I contend that a checkbox group must have
at least one choice selected if it is required.
The spec currently dictates that @required directly relates to the checkbox it
is on, without consideration for others in the group - right now, any required
checkbox must be ticked. Consider the following example.
Choose all that apply:
- checkboxA
- checkboxB
- checkboxC
If any or each of these had the @required flag set under the proposed
amendment, one or more must be checked. Currently, any that is @required MUST
be checked.
This amendment has no affect on checkbox widgets with unique names. A checkbox
with a unique name and the @required flag set will have the same meaning
regardless of if the amendment is ratified. - Related Actions Items:
- No related actions
- Related emails:
- Re: ISSUE-111 (checkbox-required): Chairs Solicit Proposals (from rubys@intertwingly.net on 2010-06-03)
- [minutes] HTML WG 20100603 (from plh@w3.org on 2010-06-03)
- {agenda} HTML WG telecon 2010-06-03 (from rubys@intertwingly.net on 2010-06-02)
- RE: {agenda} HTML WG telecon 2010-05-27 (from adrianba@microsoft.com on 2010-05-27)
- Re: {agenda} HTML WG telecon 2010-05-27 (from faulkner.steve@gmail.com on 2010-05-27)
- Re: {agenda} HTML WG telecon 2010-05-27 (from laura.lee.carlson@gmail.com on 2010-05-27)
- {agenda} HTML WG telecon 2010-05-27 (from rubys@intertwingly.net on 2010-05-26)
- {agenda} HTML WG telecon 2010-05-20: Surveys close, Publishing new Working Drafts (from mjs@apple.com on 2010-05-19)
- [Bug 9160] input['type=checkbox'].checkValidity ought to work like the radio type, testing the whole checkbox group, not each checkbox individually (from bugzilla@jessica.w3.org on 2010-05-12)
- RE: {agenda} HTML WG telcon 2010-04-29: Action items, new issues, Task Force reports - minutes of the meeting (from adrianba@microsoft.com on 2010-04-29)
- ISSUE-111 (checkbox-required): Chairs Solicit Proposals (from mjs@apple.com on 2010-04-28)
- {agenda} HTML WG telcon 2010-04-29: Action items, new issues, Task Force reports (from mjs@apple.com on 2010-04-28)
- ISSUE-111 (checkbox-required): What does input.@required mean for @type = checkbox? [HTML 5 spec] (from sysbot+tracker@w3.org on 2010-04-28)
Related notes:
Closed without prejudice: http://lists.w3.org/Archives/Public/public-html/2010Jun/0054.html
Sam Ruby, 3 Jun 2010, 17:16:15Display change log