HTML::FormHandler::Field::Text(3pm)

HTML::FormHandler::Field::Text3pm

Text field

Version

version 0.40068

Overview

This is a simple text entry field. Widget type is 'text'.

Methods

size [integer]

This is used in constructing HTML. It determines the size of the input field. The 'maxlength' field should be used as a constraint on the size of the field, not this attribute.

minlength [integer]

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

maxlength [integer]

A constraint on the maximum length of the text.

error messages

Set error messages (text_minlength, text_maxlength):

    has_field 'my_text' => ( type => 'Text', messages =>
        {  'text_minlength' => 'Field is too short',
           'text_maxlength' => 'Field is too long',
        } );

Releases

7 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7
  2. 8
  3. 9
  4. 10–11
  5. 12–13

Author

FormHandler Contributors - see HTML::FormHandler

From libhtml-formhandler-perl 0.40068-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.