S
Scott
If I click the "Update" button on my form below, I can retrieve the value of
my combo by using code in the FORM RESULTS section below. Therefore, if I
choose the "Inside" option in my combo, I would get "1" as the value of my
combo box.
Is there any way to retrieve the Name associated with the value? So not only
retrieve the combo value of 1, but also retrieve the name "Inside" after
submitting my form?
FORM RESULTS **********************
cboMachineArea=Request.Form("cboMachineArea")
FORM CODE ************************
<form name="DataForm" method=post action="form_test.asp">
<font face="Verdana,sans-serif" size="2">Name</font><br>
<input type="textbox" size=30 name="Full Name" value="My Test Name"><br>
<font face="Verdana,sans-serif" size="2">Area</font><br>
<select name="cboArea" id="cboArea">
<OPTION value="1" selected>Inside</option>
<OPTION value="2">Outside</option>
</select>
<br>
<input type=submit name="DataFormSubmit" value="Update">
</form>
my combo by using code in the FORM RESULTS section below. Therefore, if I
choose the "Inside" option in my combo, I would get "1" as the value of my
combo box.
Is there any way to retrieve the Name associated with the value? So not only
retrieve the combo value of 1, but also retrieve the name "Inside" after
submitting my form?
FORM RESULTS **********************
cboMachineArea=Request.Form("cboMachineArea")
FORM CODE ************************
<form name="DataForm" method=post action="form_test.asp">
<font face="Verdana,sans-serif" size="2">Name</font><br>
<input type="textbox" size=30 name="Full Name" value="My Test Name"><br>
<font face="Verdana,sans-serif" size="2">Area</font><br>
<select name="cboArea" id="cboArea">
<OPTION value="1" selected>Inside</option>
<OPTION value="2">Outside</option>
</select>
<br>
<input type=submit name="DataFormSubmit" value="Update">
</form>