www.webdeveloper.com
Results 1 to 2 of 2

Thread: Radio button - multiple values

  1. #1
    Join Date
    Nov 2006
    Posts
    13

    Radio button - multiple values

    Hi,

    I have a radio button on a booking form which if selected sends data to the confirmation page showing the value in the textbox.

    Im wondering if it is possible for a single radio button to hold two different values?

    e.g.

    T1 --Value1-- O radio1
    T2 --Value2-- O radio2
    T3 --Value3-- O radio3
    T4 --Value4-- O radio4

    At the moment when the radio button 1 is selcted the 'Value1' value is sent. I also want the 'T1' value to appear on the confirmation page in a seperate textfield?

    Is this possible?

    Thanks

  2. #2
    Join Date
    Nov 2006
    Posts
    41
    You could do javascript to set a hidden box to the other value, or you could set it up so that Radio1 = Value1:Value2 and parse it out.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles