NAME

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

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.

AUTHORS

Bill Moseley

COPYRIGHT

See Form::Processor for copyright.

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

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.