I have a form to send to a content handler and wish to use the HTML tag:

<SELECT name="multi_list" multiple size=4>
        <OPTION value="1">One</OPTION>
        <OPTION value="2">Two</OPTION>
        <OPTION value="3">Three</OPTION>
        <OPTION value="4">Four</OPTION>
        <OPTION value="5">Five</OPTION>
        <OPTION value="6">Six</OPTION>
</SELECT>

I have a handler like:

#######################
package testform;

use Apache::Requst;

sub handler() {
        my $r = Apache::Request->new(shift);
        my @list = $r->param('multi_list') || undef;

        # process the list
        for (@list) {
                # do stuff with each selected form value
                ...
        }
        ...
        ...
}
#######################


For whatever reason, I dont see the multiple values that ware selected on
the form.  Any reason why I cant collect "multiple" values from a form using
Apache::Request?


K

Reply via email to