Enforcing a checkbox from multiple options

nickorr - November 9, 2007 - 03:08
Project:Profile Enforcer
Version:5.x-1.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Is it possible to require the user to select at least one out of a group of checkbox fields using this module?

For example you have 3 fields profile_1, profile_2, profile_3 and although I don't require them all to be checked, they have to have checked at least one of the three. They're all in their own category, so can be grouped that way, but they also all have their individual field names.

Thanks,
Nick

#1

suydam - November 9, 2007 - 03:16
Status:active» closed

Nick,
I don't believe the way we have the module set right now will support this usage.
Unless you can put the checkboxes together into the same field-name (Forms API supports this...but I don't know if you could split them into separate categories).
Sorry,
Brian

 
 

Drupal is a registered trademark of Dries Buytaert.