Group separate form checkboxes into single field with required status
Hi, I am putting together a form which includes several mutiple-choice sections where you can select one or more options.
The out-of-box listboxes are not visually practical for my purposes, so I need to somehow get the form to recognise the grouped relationship between several checkboxes that have been arranged together to form the multiple choice answer options on the form, so that the question itself can be made a REQUIRED field, but only one or more of the checkboxes need to be selected to satisfy the REQUIRED criteria for that question.
At present, the form considers all the checkboxes to be separate and independent, so the built-in REQUIRED functionality can't be applied correctly, as applied to the checkboxes in their separate state it would force the user to select every checkbox.
Does anyone know how to approach this problem (probably using Javascript) to enable the form to be filled in correctly? Hope this question makes sense! 🙂
Thanks,
Luke
