I have been able to retain the value in a listbox in asp when the user submits the form providing the user selects only one value from the list box - but how do I retain more than one value i.e. if the user selects more than one value?
My code at the moment is:
<form name="form2" method="post" action="">
<select name="mnustylisttype" size="5" multiple="MULTIPLE" class="DropdownFields"><option value=''''>-- Select --</option>
<option value="<%=rsDescription("description")%>" <% if Trim(Request.Form("mnustylisttype")) = rsDescription("description") then %>selected<% end if %>><%=rsDescription("description")%></option>
</select>
<input type="submit" name="Submit2" value="Submit">
</form>
Thanks in advance