HTML::FormFu::Element::Checkbox - Checkbox form field
Contents
Copyright And License
This software is copyright (c) 2018 by Carl Franks.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5
programming language system itself.
perl v5.38.2 2024-04-10 HTML::FormFu::Element::Checkbox(3pm)
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
