<%dim cheeses
cheeses = Request.Form("cheeses")%>
<!-- To display multiple select list -->
<tr>
<td bgcolor="#FFFF80"><strong><font color="#0051FF">Multiple select list</font></strong></td>
<td bgcolor="#FFFF80"><strong><font color="#000000">
<!--This code is counting the number of items selected -->
<%if request.form("cheeses") <> "" then
for j =0 to request.form("cheeses").Count
next
Response.Write(j)
end if%>
</font></strong> </td>
<td bgcolor="#FFFF80"><strong><font color="#000000">
<font color=#FF0000>
<!-- -->
<!-- I need help with the following code.-->
<!-- -->
<!-- Here i am trying to print if the 3rd item is selected or not-->
<!-- It gives me the right answer when i choose only 1 item but if i
choose more than one it doesnt give me the right answer-->
<%if cheeses <> "party" then Response.write("3rd list item not selected")%>
<% if cheeses = "party" then Response.write("party")%>
</font></strong> </td>
<td bgcolor="#FFFF80"><strong><font color="#000000">
<%For counter =1 To Request.Form("cheeses").Count
Response.Write "" & Request.Form("cheeses")(counter) & "<br>"
Next
%>
</font></strong> </td>