I'm setting up a website that uses paypal to process purchases. PayPal requires users have an email address, and the target audience for the website is a little on the older side.
So, to ensure there is an alternate method for people to buy a product, I'd like to have a checkbox by itself that says something like "I don't have an email address" - and if the user checks it, I'd like the user to automatically be forwarded to a page containing instructions on how to purchase an item in person.
I don't want a submit button for the form. I just want the checkbox itself to run the PHP that will forward users.
I assume the form would look something like
<form action="<?php Location "http://www.thepage.com"; ?>>
<label for="NoEmail">I don't have an email"</label>
<input type='checkbox' name='NoEmail' />
Any help would be appreciated. Thanks!