Ok - this sounds funny, but if there is a way I can do this it would make everything come together...
Here is my form:
<form name="form1" method="post" action="displaycolor.asp">
<select name="selColor" size="1">
<option value="1">Green</option>
<option value="2">Yellow</option>
<option value="3">Blue</option>
<option value="4">Red</option>
</select>
</form>
Now, the "Value" of each option gets passed to "displaycolor.asp". But, is there a way for me to get the item that was selected.
For example:
If I selected Green, the value 1 is passed to the action program, but is there any way I could pull "Green" with it?
The reason I ask is that that actual program I am doing this in has active dropdowns (5 or more), (code gotten from the Javascript Forum on this website - thank you very much), where dropdown2 is filled in after a selection in dropdown2 is selected, so on and so on with the next 5 fields. So I cannot do the "If value=txt then write "selected" when the dropdown are written on the next page. The values all come together to create a partnumber that is looked up in a database and displayed. We want to be able to show them the selections they made from the dropdowns when it is printed.
Here is my form:
<form name="form1" method="post" action="displaycolor.asp">
<select name="selColor" size="1">
<option value="1">Green</option>
<option value="2">Yellow</option>
<option value="3">Blue</option>
<option value="4">Red</option>
</select>
</form>
Now, the "Value" of each option gets passed to "displaycolor.asp". But, is there a way for me to get the item that was selected.
For example:
If I selected Green, the value 1 is passed to the action program, but is there any way I could pull "Green" with it?
The reason I ask is that that actual program I am doing this in has active dropdowns (5 or more), (code gotten from the Javascript Forum on this website - thank you very much), where dropdown2 is filled in after a selection in dropdown2 is selected, so on and so on with the next 5 fields. So I cannot do the "If value=txt then write "selected" when the dropdown are written on the next page. The values all come together to create a partnumber that is looked up in a database and displayed. We want to be able to show them the selections they made from the dropdowns when it is printed.