Can anyone offer suggestions on how to do this or if it is possible?
I have a form that uses a drop down box and 2 text fields.
What I am trying to do is have the value of each text box set by the
choice from the drop down box.
Something like:
<form name="populatef rm" id="contactfrm " method="post"
action="results .asp">
<select name="region" size="10">
<option value="Choice 1" JavaScript "SET Text Box 1 to 12:00; SET Text
Box 2 to 5:00">Choice 1</option>
<option value="Choice 2" JavaScript "SET Text Box 2 to 5:00; SET Text
Box 1 to 11:00">Choice 2</option>
</select>
<P>
<input type="text" name="text_box_ 1" value="value from drop down box
script" size="5"><BR>
<input type="text" name="text_box_ 2" value="value from drop down box
script" size="5"><BR>
<input type="submit" value="Submit">
</form>
This is related to the time question I asked below. I've searched the
web and can't find exactly what I am looking for.
Thanks, Dan
I have a form that uses a drop down box and 2 text fields.
What I am trying to do is have the value of each text box set by the
choice from the drop down box.
Something like:
<form name="populatef rm" id="contactfrm " method="post"
action="results .asp">
<select name="region" size="10">
<option value="Choice 1" JavaScript "SET Text Box 1 to 12:00; SET Text
Box 2 to 5:00">Choice 1</option>
<option value="Choice 2" JavaScript "SET Text Box 2 to 5:00; SET Text
Box 1 to 11:00">Choice 2</option>
</select>
<P>
<input type="text" name="text_box_ 1" value="value from drop down box
script" size="5"><BR>
<input type="text" name="text_box_ 2" value="value from drop down box
script" size="5"><BR>
<input type="submit" value="Submit">
</form>
This is related to the time question I asked below. I've searched the
web and can't find exactly what I am looking for.
Thanks, Dan
Comment