Hi,
On our page www.istwente.org we have a form with a checkbox list.
We would like to make it required, but if we do the user needs to select all.
We would like, off course, that is also possible to select one field instead of all.
But at this moment user receives notification.
Best regards
Gerard
Developer forum
E-mail notifications
required checkbox forms for editors
Replies
Hi Gerard
Currently that is not possible. The required flag is based on the html5 specification that requires all the checkboxes in the group to be checked - and not only one in the group, which would much more logical. See more here: https://stackoverflow.com/questions/5884582/required-attribute-on-multiple-checkboxes-with-the-same-name
So to fix this, a custom validation is required.
The forms for editors update due in 9.6 is planned to have a built-in validation feature - and that should be able to handle this scenario.
BR Nicolai
Hi Nicolai,
Thanks for your reply, for now I think we can fix it with workarounds.
Good to hear that it will be in 9.6.
BR. Gerard
Hi Nicolai
Has this built-in validation feature been implemented in v9.6 or later?
You must be logged in to post in the forum