logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

HTML::FormFu::Element::Checkbox - Checkbox form field

Author

       Carl Franks <cpan@fireartist.com>

Description

       Checkbox form field.

License

       This library is free software, you can redistribute it and/or modify it under the same terms as Perl
       itself.

Methods

value
       Default Value: 1

   default_empty_value
       Inherited. See "default_empty_value" in HTML::FormFu::Role::Element::Field for details.

   multi_layout
       Overrides the default value of multi_layout to swap the "field" and "label" around.

Name

       HTML::FormFu::Element::Checkbox - Checkbox form field

See Also

       Is a sub-class of, and inherits methods from HTML::FormFu::Role::Element::Input,
       HTML::FormFu::Role::Element::Field, HTML::FormFu::Element

       HTML::FormFu

Synopsis

           my $e = $form->element( Checkbox => 'foo' );

Version

       version 2.07

See Also