jeffpflueger has asked for the wisdom of the Perl Monks concerning the following question:
This is a nice format because it creates a small, scrolling list where several items can be selected. The thing is several identical names get passed equaling different values.<select MULTIPLE name="name"> <option value=1>blah blah <option value=2>blah blah </select>
So I get several name="something"'s passed. CGI.pm will get just the first name/value pair when several names are identical with the param (name) method. Can anyone think of a way of getting ALL of the values passed with the same name? I can think of some complicated ways, but I suppose I'm in search of finesse.
Thanks for your help.
"No matter where you go, there you are."
Jeff Pflueger - Struggling Perl knowledge sponge
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Passing 'SELECT MULTIPLE' parameters and CGI.pm
by chromatic (Archbishop) on Mar 14, 2001 at 01:11 UTC | |
|
(ar0n) Re: Passing 'SELECT MULTIPLE' parameters and CGI.pm
by ar0n (Priest) on Mar 14, 2001 at 01:13 UTC | |
|
(sacked) Re: Passing 'SELECT MULTIPLE' parameters and CGI.pm
by sacked (Hermit) on Mar 14, 2001 at 01:13 UTC | |
|
Re: Passing 'SELECT MULTIPLE' parameters and CGI.pm
by jeffpflueger (Beadle) on Mar 14, 2001 at 01:51 UTC |