|
I need to pass a hidden variable to paypal using a form. The variable needs to change based on 3 radio options and 2 checkboxes. It also needs to default to one option if the client doesnt support javascript. Is there a simple way to do this with javascript? I know C and PHP but just cant figure out how to do this.
<input type="hidden" name="encrypted" value="xxx">
Input "encrypted" needs to change based on the form:
() Red Sweater (radio) default selected
() Green Sweater (radio)
() Blue Sweater (radio)
[] Add a hat (checkbox1) default checked
[] Add socks (checkbox2)
[submit button]
|