in reply to Selecting more than one option on form.
The "select" tag has a "multiple" attribute that allows you to select more than one entry.
<tr> <td align="left"><strong>Choose data:</strong></td> <td> <select name="collab" size="1" multiple="multiple"> <option /> <option> First Selection</option> <option> Second Selection</option> <option> Third Selection</option> <option> Fourth Selection</option> </select> </td>
In cases like this, CGI::param returns a list of all the selected items.
--"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (nrd) Re: Selecting more than one option on form.
by newrisedesigns (Curate) on Nov 06, 2002 at 14:28 UTC | |
|
Re: Re: Selecting more than one option on form.
by Anonymous Monk on Nov 06, 2002 at 15:15 UTC |