Validating checkbox asp net

NET Summary: Learn how to use all the available ASP.

This paper introduces these new controls and discusses tips and tricks on working with them in practical scenarios.

When the button is clicked, we first count the checkboxes that are checked using $(':checkbox:checked').length .

If the length is 0 (zero), we alert the user and prevent the user from submitting the form using e.prevent Default().

Require Field isn't very helpful because I want to validate that a use did select at least one of these option. Hugonne- This look like it could work - however, what if I have another group of checkbox.