Checkbox validation


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.


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