Validating check box
I'm not a Java Script guru so I did not implement or even thought about how to implement the client side validation.
On the aspx file you can now work with the Validateable Check Box List just like you would with a plain Text Box.
I want to force a user check the control before submitting the form. I am stack The script is : Hi, Go through below links..
I've tried to use Requiredfieldvalidator and Control To Validate but ASP.
Just declare this class: And instead of using a Check Box List in your code, use a Validateable Check Box List.
I subclassed the Check Box List class to add the Validation Property that the Required Field Validator is looking for.
Bottom line -- I'd like to know how I can validate that a use has selected at least one option? How would it differentiate between class format and another checkbox group? That way, if you have another group, you can wrap them as well inside a div, give that div another id, and use the same j Query.
The idea is to put each of the 3 different forms in this application of 3 different pages. Now its is a matter of cloning those forms for various uses and modifying or adding code to suit the particular need.
I have attempted multiple things to get this into the page and even started to just rewrite it as an web form, but even then I can't reuse any of the code since the System. Copy and paste works OK, but there is a lot of changing of certain words, etc. NET to take these basic forms, turn them into classes or templates, create forms from them, then add or overwrite code? (Anybody who is a Vis Fox Pro programmer would know imme...
Hello How do I validate a group of check boxes on submission to ensure that at least one check box has been selected?