NAME

Form::Processor::Field::Text - A simple text entry field

VERSION

version 1.122970

SYNOPSIS

See Form::Processor

DESCRIPTION

This is a simple text entry field.

Widget

Fields can be given a widget type that is used as a hint for the code that renders the field.

This field's widget type is: "text".

Subclass

Fields may inherit from other fields. This field inherits from: "Field".

METHODS

size [integer]

This integer value, if non-zero, defines the max size in characters of the input field.

The recommendation is to not use "Text" fields directly but to create a subclass for each type of input (e.g. Name) that inherits from this class and sets additional validation, including size.

As of Form::Processor version .20 (0.04 for this class) the default has changed from zero to 2500.

min_length [integer]

This integer value, if non-zero, defines the minimum number of characters that must be entered.

Default to zero characters.

SUPPORT / WARRANTY

Form::Processor is free software and is provided WITHOUT WARRANTY OF ANY KIND. Users are expected to review software for fitness and usability.

AUTHOR

Bill Moseley <mods@hank.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Bill Moseley.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.