Ticket #11782 (closed bug: fixed)
Radio buttons set as "required" and then "not required" still act as required and prevent form submit
|Reported by:||TylerRick||Owned by:||TylerRick|
If you set a radio button as required using jQuery .attr('required', true) and then try to set it as not required with .attr('required', false), then the radio button will still be required and will prevent the form from submitting -- even though the required property claims to be false!
Here is a jsFiddle that reproduces this behavior: http://fiddle.jshell.net/TylerRick/RPsXQ/show/
This appears to only be a problem in Firefox (for me). But it also appears to be specific to jQuery.
- Owner set to TylerRick
- Status changed from new to pending
- Status changed from pending to new