Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
05-07-2006, 11:47 AM #1
- Join Date
- May 2006
- Thanked 0 Times in 0 Posts
Passing radio button/drop down menu info to somebody else's form?
Apologies if this is a dumb question, but I'm really new at this stuff.
Is it possible to create a very simple form that allows people to "pre-select" radio button and drop-down options, then pass that information on to somebody else's form?
At this point these other folks don't want to modify their code to acoomodate my needs, so I'm wondering if it is possible to do it without their cooperation.
I need input type="radio" name="fundSelector" value="graduatingclass" to be checked and one of the select box values to be preselected
Source code is attached.
05-07-2006, 11:57 AM #2
- Join Date
- Mar 2006
- Splendora, Texas, United States of America
- Thanked 293 Times in 287 Posts
You should be able to select a form choice by default using the selected attribute. If you're using XHTML, you need to spell out the full attribute. Example:Originally Posted by QT Johnson
HTML4: <option selected>
XHTML: <option selected="selected"></option>
I believe this also applies to radio buttons.
For every complex problem, there is an answer that is clear, simple, and wrong.