Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
3 Radios, 2 Checkbox 1 Passed Hidden Variable
Old 03-21-2007, 12:08 AM 3 Radios, 2 Checkbox 1 Passed Hidden Variable
Junior Talker

Posts: 1
Trades: 0
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]
sh77 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to 3 Radios, 2 Checkbox 1 Passed Hidden Variable
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09119 seconds with 12 queries