in reply to Re^5: Params in CGI
in thread Params in CGI
What I say is I like to have the labels, like A1, D1, E1, if they are checked.these are the labels for each cells. THe code you suggested gives 'on'(which is the default) when a checkbox is checked.Any options?foreach my $cell (@rows){ split(/,/); print $cgi->td("$cell"); for(my $i= 1;$i<=12;$i++){ print $cgi->td($cgi->checkbox(-name=>'checked', -values=> +["ON"], -default=>'',-label=>"$cell$i")) ; } print $cgi->Tr(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Params in CGI
by eric256 (Parson) on Nov 21, 2008 at 13:16 UTC |