W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1997

Form with Multiple selections

From: Nirmal Patil <npatil@EESUN2.tamu.edu>
Date: Wed, 16 Jul 1997 22:24:39 -0500 (CDT)
Message-Id: <199707170324.WAA18786@eesun3.tamu.edu>
To: www-jigsaw@w3.org

I was trying to have a html form with multiple entries in a drop down box.

<select multiple name="favcolor" size = 3>
     <option selected>emerald

Does any one know how I could use URLDecoder class ( data.getValue("string")) 
here. Or do i have to write sth on my own for this. 

Basically I know in forms everything works as a name value pair but when we use
the 'multiple' option in the select tag , I am not sure how things work.
Is one name associated with all these multiple values that the user selects ?
Does it mean that I have to call URLDecoder.getValue("favcolor") multiple number
of times ? 
Or is there another way to extract these values....

Would appreciate some help here.

Cheers !!!
Received on Wednesday, 16 July 1997 23:24:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:31 UTC