It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

3 Radio, 2 Clickbox to 1 Variable Form

3 Radio, 2 Clickbox to 1 Variable Form

Postby sh77 on Wed Mar 21, 2007 1:57 am

Im trying to make a form that will submit different orders to paypal based on 3 radio options and 2 check boxes. I am passing one variable to paypal that may have 12 different values. How can I do this without having 12 radio options? Is javascript the only way? If javascript is disabled could the form default to one of the values?
sh77
 
Posts: 2
Joined: Wed Mar 21, 2007 1:49 am

Postby sh77 on Fri Mar 23, 2007 6:54 pm

Well I managed to write some javascript to do what I needed. Heres the code the if anyone is interested:

http://freedomsforums.com/javascript-form-3-radios-2-checkbox-pass-1-hidden-variable-t151.html
sh77
 
Posts: 2
Joined: Wed Mar 21, 2007 1:49 am


Who is online

Users browsing this forum: No registered users and 7 guests