mercredi 7 février 2018

Checkbox validation and dependency

How to build a form with about 12 Checkboxes. The checkboxes are dependent from each other. That means for example: - If checkbox a is selected, checkbox b can't be selected. - If checkbox b is selected, checkbox c must be selected, but a has to be hidden. - If checkbox d is selected, checkbox e or f must be selected.

This can be used with javascript. I already have tried surveyjs. With it it is a little possible. I can create some dependencies there, but every checkbox needs to have its own title. That I don't want to have. I want that all checkboxes appear under the same title.

Any suggestions are welcome.

I want to use it together with symfony 3.




Aucun commentaire:

Enregistrer un commentaire