Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] multiple indexes and checkbox_group default to all indexes

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Wed May 07 2008 - 19:30:37 GMT
On Wed, May 07, 2008 at 05:16:12PM +0100, Wayne Humphrey wrote:
> And all I would like to do is (checked="checked") on all the checkboxes.
> I cannot find it any ware in TemplateDefault.pm any pointes?

This would be my guess (because of the 'si'):

    return join "\n",
        '<br>',
        ( $select_config->{description} || 'Select: '),
        $q->$method(
        -name   => 'si',
        -values => [0..$#labels],
        -default=> 0,
        -labels => \%map,
        @cols );


So I have not used CGI.pm in years but my guess is you would do:

    -defaults => [0..$#labels],


-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Wed May 7 15:29:12 2008