This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 13754 - as an author, I would have expected that a radio button with value="" checked would be suffering from being missing when the form is submitted
Summary: as an author, I would have expected that a radio button with value="" checked...
Status: RESOLVED NEEDSINFO
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-10 23:31 UTC by contributor
Modified: 2011-10-20 23:38 UTC (History)
6 users (show)

See Also:


Attachments

Description contributor 2011-08-10 23:31:25 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/number-state.html
Multipage: http://www.whatwg.org/C#radio-button-state
Complete: http://www.whatwg.org/c#radio-button-state

Comment:
as an author, I would have expected that a radio button with value="" checked
would be suffering from being missing when the form is submitted

Posted from: 118.208.76.167
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.107 Safari/535.1
Comment 1 Jonas Sicking (Not reading bugmail) 2011-08-22 20:46:56 UTC
I agree. It also makes it more consistent with <select>
Comment 2 Mounir Lamouri 2011-08-22 23:15:59 UTC
Uh? Seems really weird to me. We use the checkedness for value missing for radio buttons but the value being empty would have an impact..? In addition, is there any use case for that?
Comment 3 Ian 'Hixie' Hickson 2011-10-04 23:44:49 UTC
What's the use case?

Note that there is a submission difference between nothing being selected and an <input type=radio value=""> being selected — in the former case, nothing is submitted; in the latter case, the name is submitted. So it is included in the submission. It's not like nothing is sent.
Comment 4 Ian 'Hixie' Hickson 2011-10-20 23:38:31 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Did Not Understand Request
Change Description: no spec change
Rationale: see comment 3