Well, the typical product price in a PayPal form would be represented in the form, for $50.00 by:
HTML Code:
<input type="hidden" name="amount" value="50.00">
Now, you say you want 3 radios to add 10, 20, or 30 to that, this could be represented like so (all still within the original form):
HTML Code:
<input type="hidden" name="amount" value="50.00">
<input type="radio" name="amount" value="60.00">add $10<br>
<input type="radio" name="amount" value="70.00">add $20<br>
<input type="radio" name="amount" value="80.00">add $30<br>
Since all four of these inputs is named "amount", if no radio is selected, the price will be 50, if any one of the radio buttons are selected (since they all have the same name, only one can be selected), the price will be the value of the selected radio.
Bookmarks