Enabled Checkboxes Act Disabled
Posted: Sat Feb 26, 2011 4:50 pm
I have a form with a radio button and some checkboxes. The checkboxes are initially set to "disabled", but are enabled with a Javascript function when the radio button is clicked. The form reloads the page and if the checkboxes are enabled when it's submitted, they are set to "enabled" and any selected boxes are set to "checked" (using PHP). The source code shows the proper "enabled" and "checked" status and the checkmarks show correctly, but the checkboxes act disabled. Of course, clicking the radio button enables them again, so it's not a huge problem, but it's totally mystifying to me. What could be going wrong?