HTML::Widget::Plugin::Checkbox - it's either [ ] or [x]
version 0.204
$widget_factory->checkbox({ id => 'checkbox-id', # also used as default for control name value => 'checkbox-value', # -not- the "am I checked?" setting checked => $true_or_false, });
This plugin provides a widget for boolean checkbox widgets.
provided_widgets
This plugin provides the following widgets: checkbox
checkbox
This method returns a checkbox widget.
In addition to the generic HTML::Widget::Plugin attributes, the following are valid arguments:
This is the widget's initial state. If true, the checkbox is checked. Otherwise, it is not.
This is the value for the checkbox, not to be confused with whether or not it is checked.
Ricardo SIGNES
This software is copyright (c) 2005 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install HTML::Widget::Factory, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Widget::Factory
CPAN shell
perl -MCPAN -e shell install HTML::Widget::Factory
For more information on module installation, please visit the detailed CPAN module installation guide.