Johnstone, Colin <[EMAIL PROTECTED]> wrote: Please use beginners-cgi to ask CGI related questions.
: Gidday all, : : I have created a form with a group of checkboxes (see code : below) : : I wish to use cgi.pm to process it. : : When I use : : my @deployBranch = $cgi->{form}{'deployBranch'}; What made you think that $cgi->{form}{'deployBranch'} would return an array of values? my @deployBranch = $cgi->param( 'deployBranch' ); Access objects using provided public methods, not by attempting to access the data directly. : my $list; : : if ( @deployBranch ) { : $list = join ', ', @deployBranch; : } else { : $list = 'None'; : } my $list = 'None'; $list = join ', ', $cgi->param( 'deployBranch' ) if $cgi->param( 'deployBranch' ); [snip] : <tr> : <td align="right">temp_partners: </td><td><input : type="checkbox" name="deployBranch" : value="/iwmnt/default/main/det/temp_partners/WORKAREA/internet : " /></td> </tr> </table> You need to add a submit button in there. : </form> HTH, Charles K. Clarkson -- Mobile Homes Specialist 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>