Hi Eric, That was wonderfull. I could get the number of cells that were checked. But It should be exciting, if I could get the lables of the cells that were all checked.
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();
}
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?
thanks. | [reply] [d/l] |
| [reply] |