in reply to Formatting labels of checkbox groups
This function actually returns an array of button elements. You can capture the array and do interesting things with it, such as incorporating it into your own tables or lists. The -nolabels option is also useful in this regard:Or generate them one at a time in a loop with@h=$query->checkbox_group(-name=>'choice',-value=>['fee','fie','foe'], + -nolabels=>1); create_nice_table(@h);
, giving them all the same name, and CGI.pm can process it just like it was made with checkbox_group.CGI::checkbox(-name => 'the_group', -value => $value, -label =>'')
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Formatting labels of checkbox groups
by lcanty (Friar) on Aug 16, 2004 at 05:45 UTC | |
by Zed_Lopez (Chaplain) on Aug 16, 2004 at 06:31 UTC | |
by lcanty (Friar) on Aug 16, 2004 at 07:09 UTC | |
by Zed_Lopez (Chaplain) on Aug 16, 2004 at 07:21 UTC |