Steven Hilton > CGI-Test > CGI::Test::Form::Widget::Input::Text_Field

Download:
CGI-Test-0.104.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View Bugs
Report a bug
Source  

NAME ^

CGI::Test::Form::Widget::Input::Text_Field - A text field

SYNOPSIS ^

 # 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");

DESCRIPTION ^

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.

WEBSITE ^

You can find information about CGI::Test and other related modules at:

   http://cgi-test.sourceforge.net

PUBLIC CVS SERVER ^

CGI::Test now has a publicly accessible CVS server provided by SourceForge (www.sourceforge.net). You can access it by going to:

    http://sourceforge.net/cvs/?group_id=89570

AUTHORS ^

The original author is Raphael Manfredi <Raphael_Manfredi@pobox.com>.

Send bug reports, hints, tips, suggestions to Steven Hilton at <mshiltonj@mshiltonj.com>

SEE ALSO ^

CGI::Test::Form::Widget::Input(3).