Scroll to navigation

HTML::FormFu::Constraint::MaxLength(3pm) User Contributed Perl Documentation HTML::FormFu::Constraint::MaxLength(3pm)

NAME

HTML::FormFu::Constraint::MaxLength - Maximum Length String Constraint

DESCRIPTION

Checks the input value meets a maximum length.
Overrides "localize_args" in HTML::FormFu::Constraint, so that the value of "maximum" is passed as an argument to localize.
This constraint doesn't honour the "not()" value.

METHODS

maximum

max

The maximum input string length.
"max" is an alias for "maximum".

SEE ALSO

Is a sub-class of, and inherits methods from HTML::FormFu::Constraint::Length, HTML::FormFu::Constraint
HTML::FormFu

AUTHOR

Carl Franks "cfranks@cpan.org"

LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
2011-05-10 perl v5.14.2