214-564-5316
Wednesday, May 21, 2008
•
Portfolio
•
FAQ's
•
Pricing
•
Request Info
•
Code Examples
•
Demos
•
Marketing
•
Tutorials
•
Downloads
•
Validate a checkbox with javascript
Validate Multiple Checkboxes
Password validation Script
If you agree to the terms check here.
Here is the code:
<script type="text/javascript" language="JavaScript"> <!--hide on function checkcheckbox(theForm) { if ( theForm.CHECKBOX_1.checked == false) < { alert( 'You must acknowledge that you agree to the terms before continuing.' ); return false; } else { return true; } } //hide off--> </script> <form action="" onsubmit="return checkcheckbox(this);"> <input type="CHECKBOX" name="CHECKBOX_1" value="Agree">If you agree to the terms check here.<br><br> <input type="SUBMIT" value="Submit!"> </form>
•
Home
•
Contact Us
•
Terms of Service
•
Privacy Policy
•
Email Policy
•
Hosting
•
Links
•
Site Search
•