Is there a way to set up a dropdown list and have the description field be displayed as a selection for the user and also be displayed in the input field after the user selects it, but have the value be stored in the variable? In the example below, the user would see Report A, but Rpt0001 would be stored in variable strReportName. Is it possible to do this?
Code:
<select name="ReportName" id="ReportName"> <option><%=strReportName%></option> <option value="Rpt0001">Report A</option> <option value="Rep0002">Report B</option> <option value="Rep0003">Report C</option> <option value="Rep0004">Report D</option> </select>
Comment