Need help with agreement ticking box
Hi, i need help, i made a form that you can click the box (ticking the box) & the button to redirect somewhere, but you can click on the button Without clicking on the box to click the button to proceed.
Here's my code >
Code:
<p>
<form action="" method="post">
<input type="checkbox" name="terms" value="accept" > <strong><font color="#ffffff">I have
read and agreed to these terms, and I am the owner of the paypal account and/or
credit card being used</font></strong> <br><input onclick="window.location.href='http://www.tizenx-rsps-applications.com/donate/index.php'" type="button" value="Continue to donate" name="Tizenx_donate">
</form></p>
I know it's html format, but i think it involves php to.
please help asap, thanks!
Re: Need help with agreement ticking box
In the PHP form processing...just use isset() to see if the checkbox is checked.