Checking multiple checkboxgroups

alexatr 22 Sep, 2012
i have the problem that i have multiple checkbox groups. it must be checked whether at least one checkbox is checked in one of the checkbox groups.
Is there a possibility to realize this without being a prof?😶
GreyHead 22 Sep, 2012
Hi alexatr,

If you could give them all the same name then the default 'required' validation would probably work OK. Then you'd need to re-group them after the form is submitted.

Otherwise you'll either need to write a custom JavaScript validation to check them all; or add a Custom Serverside Validation in PHP to check after the form is submitted.

Bob
This topic is locked and no more replies can be posted.