Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Aug 2003
    Posts
    194
    Member #
    2782
    Hi Everyone,
    I am not sure if Javascript can do this - but it is worth a shot.

    I have a form with 3 fields: a radio group, a text field and a hidden field. The form looks like this:

    1. Select One:
    • A
    • B
    • C
    • Other

    2. If you chose Other, enter name: _________

    I have a hidden field that would capture the value that is chosen (either A,B,C or the name entered in the text field).

    Would Javascript be able to pass the value chosen between the 2 fields to the hidden field?

    Thanks in advance for your help.

  2.  

  3. #2
    Senior Member
    Join Date
    Aug 2003
    Posts
    194
    Member #
    2782
    Maybe I can make this easier (I am open to suggestions!)

    If someone would enter a value in the text field, could Javascript make that value the value of the "other" option in the radio group?


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:31 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com