J
Jason Henning
I'm doing a web site that has a shopping cart. Once the shopper is
finished, I want to gather their name, email and phone number. Then I
want the shopper to either choose to pay with paypal or to pay when
they come to pick up the order.
I guess what I'm saying is I want to be able to gather data and let
the shopper choose where it's sent.
Now I kow i can solve this problem with two pages but I'd like to make
it one page if I can. I also know I can do it in one page if i make
two forms but I don't want to do that either. Is there a solution?
Here's what I'd like html do but of course it doesn't work this way:
<form>
Your Name <input type='text' name='name'>
<br>
Your email address <input type='text' name='eaddy'>
<br>
Your phone number <input type='text' name='phone'>
<input type='submit' value='Pay at pick up' action='send_order.php'
method='post'>
<input type='submit' value='Send order to PayPal'
action='http://paypal.com' method='post'>
<input type='reset'>
</form>
----------------------
Thanks for any insight.
Cheers,
Jason Henning
finished, I want to gather their name, email and phone number. Then I
want the shopper to either choose to pay with paypal or to pay when
they come to pick up the order.
I guess what I'm saying is I want to be able to gather data and let
the shopper choose where it's sent.
Now I kow i can solve this problem with two pages but I'd like to make
it one page if I can. I also know I can do it in one page if i make
two forms but I don't want to do that either. Is there a solution?
Here's what I'd like html do but of course it doesn't work this way:
<form>
Your Name <input type='text' name='name'>
<br>
Your email address <input type='text' name='eaddy'>
<br>
Your phone number <input type='text' name='phone'>
<input type='submit' value='Pay at pick up' action='send_order.php'
method='post'>
<input type='submit' value='Send order to PayPal'
action='http://paypal.com' method='post'>
<input type='reset'>
</form>
----------------------
Thanks for any insight.
Cheers,
Jason Henning