DOKK / manpages / debian 12 / libcgi-test-perl / CGI::Test::Form::Widget::Input::Text_Area.3pm.en
CGI::Test::Form::Widget::Input::Text_Area(3pm) User Contributed Perl Documentation CGI::Test::Form::Widget::Input::Text_Area(3pm)

CGI::Test::Form::Widget::Input::Text_Area - A text area

 # Inherits from CGI::Test::Form::Widget::Input
 # $form is a CGI::Test::Form
 my $comments = $form->input_by_name("comments");
 $comments->append(<<EOM);
 -- 
 There's more than one way to do it.
     --Larry Wall
 EOM

This class models a text area, 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:

"columns"
Amount of displayed columns.
"rows"
Amount of displayed text rows.
"wrap_mode"
The selected work wrapping mode.

Does not handle "wrap_mode" and "columns" yet. There is actually some work done by the browser when the wrapping mode is set to "hard", which alters the value transmitted back to the script upon submit.

The original author is Raphael Manfredi.

Steven Hilton was long time maintainer of this module.

Current maintainer is Alexander Tokarev <tokarev@cpan.org>.

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

2022-06-10 perl v5.34.0