Validating checkbox asp net

A quick search of Google for "validate checkbox", you would find that one of the results is: and this explains how validations work.

Here's a page that validates a checkbox: I would like to validate that a Checkbox is checked on the client-side.

validating checkbox asp net-4validating checkbox asp net-86

If you then click the button when the checkbox is checked, you should see no errors.

Download Source Files is responsible for bringing you an exhaustive list of ASP.

Indeed, the built-in validator controls cannot validate the checkbox.

You will have to use the custom validator to do this or write your own client side validation.

Validation server controls are a series of controls that help you validate the data that the user enters into the other controls that are provided with ASP. They determine whether the form can be processed based upon the rules that you define in the validation server controls.

Last modified 26-Feb-2020 06:36