adding terms and conditions check box
I was wondering if anyone knows anything about htmi code for a terms and conditions check box.
My goal is to have users have to check a box before they press the "Order Now" button.
I found some code online and it works, however i want the "order now" button to be the continue button.
Right now im trying to get the "Continue" button to be the "order now" button
Anyone have any thoughts? thanks for any feedback
My website is chemicallyengineeredmuscle.com/index2.html
and the code for the checkbox is below
Code:
Insert within
<HEAD></HEAD>
<script type="text/javascript"> <!-- // Source: insighteye.com function checkCheckBox(f){ if (f.agree.checked == false ) { alert("Please tick the box to continue"); return false; } else return true; } //--> </script>
Insert anywhere within the body of the web page.
<form action="tc_yes.html" method="GET" onsubmit="return checkCheckBox(this)"> I accept: <input type="checkbox" value="0" name="agree"> <input type="submit" value="Continue"> <input type="button" value="Exit" onclick="document.location.href='index.html';"> </form>
-
jaasmit -
Thanks
{{ DiscussionBoard.errors[6693262].message }} -