CGI::Test::Form::Widget::Input::Text_Field(3pm)

CGI::Test::Form::Widget::Input::Text_Field3pm

A text field

Usage

 # Inherits from CGI::Test::Form::Widget::Input
 # $form is a CGI::Test::Form
 my $desc = $form->input_by_name("description");
 $desc->replace("small and beautiful");

Overview

This class models a single-line text field, where users can type text.

Interface

The interface is the same as the one described in CGI::Test::Form::Widget::Input, with the following additional attributes:

"max_length"

The maximum allowed text length within the field. If not defined, it means the length is not limited.

"size"

The size of the displayed text field, in characters. The text held within the field can be much larger than that, however.

Releases

5 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9–10
  2. 11
  3. 12–13

Authors

The original author is Raphael Manfredi.

Steven Hilton was long time maintainer of this module.

Current maintainer is Alexander Tokarev <[email protected]>.

From libcgi-test-perl 1.111-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.