Gerda Shank > HTML-FormHandler-0.40050 > HTML::FormHandler::Field::Integer

Download:
HTML-FormHandler-0.40050.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source   Latest Release: HTML-FormHandler-0.40056

NAME ^

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

VERSION ^

version 0.40050

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.

syntax highlighting: