I have a PayPal form that is all hidden fields so when the button is clicked on, the predefined attributes are transmitted to PayPal for payment.
Here is my problem, I know I need an "if" statement here but am clueless how to make it happen correctly.
There are 2 different sets of price attributes to go to PayPal, one for Business and one for Personal.
So I would like to just add radio buttons to the page that says basically:
(imagine smileys are radio buttons next to each selection)
๐ Business --------------- ๐ Personal
[CENTER]~Register Now~[/CENTER]
and then an "if" statement that will take those and say if business send $20.00 as $itemcost; else if personal send $5.00 as $itemcost.
Or maybe even something like "if" business, send form "A"; elseif Personal, send form b; else die with error.
If this makes no sense to anyone please let me know and I will post the page.
Thanks in advance,
Donnie