CGI::Test::Form::Widget::Input::Text_Field - A text field
# 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");
This class models a single-line text field, where users can type text.
The interface is the same as the one described in CGI::Test::Form::Widget::Input, with the following additional attributes:
The maximum allowed text length within the field. If not defined, it means the length is not limited.
The size of the displayed text field, in characters. The text held within the field can be much larger than that, however.
Raphael Manfredi <Raphael_Manfredi@pobox.com>