Revision: 17115
Updated Code
at August 23, 2009 20:35 by deftonez4me
Updated Code
<script type="text/javascript"> function check_agreement() { //if the agreement checkbox is checked, return true, otherwise return false if(document.getElementById('LocationAgree').checked == true) { return true; } else { alert('Please agree to the terms and conditions.'); return false; } } </script>
Revision: 17114
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 23, 2009 20:34 by deftonez4me
Initial Code
<script type="text/javascript"> function check_agreement() { //if the agreement checkbox is checked, return true, otherwise return false if(document.getElementById('LocationAgree').checked == true) { return true; } else { alert('Please agree to the terms and conditions.'); return false; } } </script>
Initial URL
Initial Description
Initial Title
JS Check agreement checkbox on form submit
Initial Tags
Initial Language
JavaScript