Hi,
I have the dropdown box below. The array loads the list for possible selections. But, as the user views existing products, I would like to view the saved product type. Right now it is stock on the first type in the list. I tried to use that value='<%=PType%>', which it has the saved product type, but it is not working.
<select name="lstType" value='<%=PType%>' size="1" id="lstType" >>
<%
for j = tFirstRec to tLastRec
%>
<option value='<%= TypesArray(0,j)%>'><%= TypesArray(1,j)%></option>
<%
next
%>
</select>
Please advise.
Thanks
Mo
I have the dropdown box below. The array loads the list for possible selections. But, as the user views existing products, I would like to view the saved product type. Right now it is stock on the first type in the list. I tried to use that value='<%=PType%>', which it has the saved product type, but it is not working.
<select name="lstType" value='<%=PType%>' size="1" id="lstType" >>
<%
for j = tFirstRec to tLastRec
%>
<option value='<%= TypesArray(0,j)%>'><%= TypesArray(1,j)%></option>
<%
next
%>
</select>
Please advise.
Thanks
Mo