214-564-5316
Thursday, March 11, 2010
•
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
•
Blog
•
Texas Web Developers is a premiere website designer in the Dallas, Texas Web Designers community on BodyModified.com.