NAME

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

VERSION

version 0.40054

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) 2013 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.