radio/checkboxes set to required are no validated
| Project: | Subform Element |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
opening a fresh issue for the overtaken one: http://drupal.org/node/179932
citing the original:
It appears that radio/checkboxe fields that are set to be 'required' in the CCK type are not being evaluated for input within this module's context. To reproduce:
1) Create a nodeprofile type containing both a required text field, and a required radio field,
2) Integrate it with registration.
3) Register a user, without filling in the required fields in the nodeprofile.
If reproduced properly, you should receive a validation error saying the text field is required - but notice there is no such validation performed for the radio field. Despite the required field not being filled in, the nodeprofile is saved, and the user is registered.
4) Go to Administer > Content and try to edit and save the profile that was just created

#1
I've just committed a fix for this, which changes the subform to be not set to #programmed == TRUE. As an affect, this works again.
Please test the next dev snapshot
#2
Automatically closed -- issue fixed for two weeks with no activity.