/    Sign up×
Community /Pin to ProfileBookmark

Validation Checkbox – Link

Hi, I have copied code for a validation checkbox from this site:

[url]http://mediazeal.com/checkbox-validator.htm[/url]

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[/url]

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 = “https://scotest.authorize.net/payment/CatalogPayment.aspx“>
<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

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @chikquita6 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...