View Full Version : Does a disabled radio button pass a value?

11-14-2010, 02:21 AM
I have a form that disables the radio options after choosing one and pressing a confirm selection button.
Does the disabled attribute affect the value submitted?

Old Pedant
11-14-2010, 03:27 AM
Why not just try it yourself???

<input type="radio" name="see" value="123" checked disabled />
<input type=submit>

Put that code (nothing else) into an HTML page and click the submit button. Look at the url at the top of the browser window. What do you see?

No remove the disabled and do the same thing. *Now* what do you see?

'nuf said?

Philip M
11-14-2010, 10:39 AM
No form element which is disabled is passed to the processor.