The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

HTML::FormHandler::Field::Checkbox - A checkbox field type

DESCRIPTION

This field is very similar to the Boolean Widget except that this field allows other positive values besides 1. Since unselected checkboxes do not return a parameter, fields with Checkbox type will always be set to the 'input_without_param' default if they do not appear in the form.

widget

checkbox

input_without_param

If the checkbox is not checked, it will be set to the value of this attribute (the unchecked value). Default = 0

AUTHORS

Gerda Shank

COPYRIGHT

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