Scroll to navigation

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

NAME

HTML::FormFu::Constraint::MaxRange - Maximum Value Constraint

DESCRIPTION

Checks the input value is equal to or less than a maximum value.
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 value.
"max" is an alias for "maximum".

SEE ALSO

Is a sub-class of, and inherits methods from HTML::FormFu::Constraint::Range, 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