Scroll to navigation

HTML::FormHandler::Field::Integer(3pm) User Contributed Perl Documentation HTML::FormHandler::Field::Integer(3pm)

NAME

HTML::FormHandler::Field::Integer - validate an integer value

VERSION

version 0.40068

DESCRIPTION

This accepts a positive or negative integer. Negative integers may be prefixed with a dash. By default a max of eight digits are accepted. Widget type is 'text'.

If form has 'is_html5' flag active it will render <input type="number" ... /> instead of type="text"

The 'range_start' and 'range_end' attributes may be used to limit valid numbers.

AUTHOR

FormHandler Contributors - see HTML::FormHandler

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Gerda Shank.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-03-25 perl v5.34.0