Click to See Complete Forum and Search --> : multi select box


pelegk1
06-19-2003, 02:14 AM
i havea multi select box :
<SELECT size=2 id=select1 name=select1 multiple>

when i choose 2 item of this box,
and i make submit i get in the url :
?select1=123&select1=556
how can i know that i have more then 1 item choosen?
if i access the "select1 " i will get the first one!
so how can i know that there is more then 1 and read it?
thanks inadvance
peleg

Greelmo
06-19-2003, 02:39 AM
isn't it just stringing the two values together? I know that when you submit something, it takes the names and values and strings it. I don't know how to fix it, being i'm new at asp, but i'd think you could you somehow look for certain values within the string that it returns?