| Form::Factory::Feature::Control::Length - A control feature for checking length |
Form::Factory::Feature::Control::Length - A control feature for checking length
version 0.014
has_control login_name => ( control => 'text', feature => { length => { minimum => 3, maximum => 15, }, }, );
Linked to a control, it checks to see that the string is not too short or too long.
The optional minimum length permitted for the string.
The optional maximum length permitted for the string.
Makes sure the value is a the Form::Factory::Control::Role::ScalarValue manpage.
Verifies that the value of the control is not too short or too long.
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
Copyright 2009 Qubling Software LLC.
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
| Form::Factory::Feature::Control::Length - A control feature for checking length |