I read the docs and searched the issue queue for this issue, and found this: http://drupal.org/node/1056614
I just upgraded webform from 3.6 to 3.9 and I still have this issue. The patch I found on a comment n the docs section by this same user has been comitted in this version - I looked...
Still my mandatory radio button grouo has a default selected, and I don't understand wht this person says he did, and I cannot find anything else on it. A default is selected even if the selection is not mandatory.
How do you set up a mandatory radio button group without a default selected? Thanks!
Comments
Comment #1
Anonymous (not verified) commentedI'm having the same problem.
What the other user did was change the keys for the options from numeric values to include other characters, which seems to result in no option being selected by default. I'd really prefer to have numeric keys, however...
Possibly related to #1078750: How to create an empty default option in non-required select lists
Comment #2
quicksketchThanks for your reports guys. This indeed was a bug that was caused by changes in the Form API in Drupal 7. This patch fixes the problem and I've committed it to the project.
Comment #4
David_Rothstein commentedNote that this patch caused a regression for required select fields with no default values, described further in #1078750-15: Options for "- Select -" or "- None -" not automatically added.
However, the patch in that issue fixes it.
Comment #5
r0bm1lls commentedJust upgraded to latest webfrom for D7 and my form with no radio buttons selected now defaults back to one selected. This is very frustrating. One has to be SO careful with updates.