question,
i am binding the field called Style_name to my combobox but on the next page i have an input field that grabs the styleType value selected in this combobox, i need to know how to set the styleType input so the next page can print that out.
to be clear, its filling up with all the right values i just need to know how to get the value selected.
what i have so far is this but its not working
what am i doing wrong here?
<CODE>
<input type="hidden" name="StyleType" value="rsStyle('Style_Name')" />
<select onchange="BLOCKED SCRIPT__StyleChanged()" name="PopulateStyle" size="1" style="width:400px">
<option value="0~">No Style Selected</option>
<%
While not rsStyle.EOF
%>
<option value="<%=rsStyle("Style_Name")%>"
<%if Request.QueryString("StyleType")="rsStyle("Style_Name")" then%>selected<%end if%>>
<%=rsStyle("Style_Name")%>
</option>
<%
rsStyle.MoveNext
WendIf rsStyle.State = adStateOpen Then rsStyle.Close
Set rsStyle= nothing
%>
</CODE>