Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how i can validate checkbok on the client side..
Posted
Comments
Raje_ 11-Apr-13 3:58am    
use Jquery.
Prasad Khandekar 11-Apr-13 4:00am    
JQuery is still javascript.
Prasad Khandekar 11-Apr-13 3:59am    
You can only check whether a checkbox is clicked or not. I don't think without using Javascript it's possible on client side. However with AutoPostback it should be possible on server side.

1 solution

use the following code

HTML
<input type="checkbox" name="tos" id="tos" required="">
<label for="tos">* I agree to terms of service.</label>
</input>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900