Checkbox validation

  • 29 July 2016
  • 2 replies
  • 13 views

I looking how to add a validation rule to limit the number of checkboxs a user can check in a form. For example, if I ask questions and there are 5 choices (via checkbox), but the user can only select up to a maximum of three.


2 replies

You can write a Javascript to limit the number of selected checkboxes.

Do you have a sample of how this can be done? I’ve tried it with jquery, selecting the input field classes and also with IDs and it doesn’t work.

Reply