Hi,
I want to alllow my clients to choose using
a radio button selector and then click on the paypal
button which sends in the form.
This is what I have:
[IMG]
The problem is that I don’t know how to evaluate the
radio button and give the correct price before the
form is sent to paypal.
Should I be doing this with javascript or can I accomplish this with
PHP somehow. Seems that I need two forms one after the other
but I can not see how to write it ?
Any one got any ideas on this ?
I know how to make a form with radio buttons.
My problem is that to process that form
you have something like:
[code=php]<form action=”my_prog.php” method=”post”>
And my prog will process the radio button.
BUT.
With the paypal button on the same page (see image)
– I have to pass the processing over to paypal
and the form starts up with:
[code=php]<form action=”https://www.paypal.com/cgi-bin/webscr” method=”post”>
So my question is how do I get both done ?
This is not as easy as it seems.
I need to find out the selection and assign price value and
product name by using the radio buttons then send the form to paypal.