Hi, I have copied code for a validation checkbox from this site:
[url]http://mediazeal.com/checkbox-validator.htm
I would like the button to link to a page when the checkbox is validated. I am not sure how to code this. Here is my website:
[url]http://rbhlc.weebly.com/discover-healing-with-jin-shin-jyutsu.html
When you validate the checkbox and click buy now it should go to the payment page, however it does nothing. (the payment page is a test account, nothing sensitive)
Code:
<form name=”form” method=”post” action=”#” onSubmit=”return checkme();”>
<table cellpadding=”0″ cellspacing=”0″ border=”0″>
<tr>
<td colspan=”2″ align=”center”><input type=”checkbox” name=”agree” value=”agree_terms”> I agree to the terms</td>
</tr>
<tr>
<td colspan=”2″ align=”center”>
<form name=”PrePage” method = “post” action = “
<input type = “hidden” name = “LinkId” value =”3569f626-b8a8-4974-8ceb-35ca08a63087″ />
<input type = “image” src =”//testcontent.authorize.net/images/buy-now-gold.gif” /> </form>
</td>
</tr>
</table>
</form>
Thank you for your help