logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

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

Authors

       The original author is Raphael Manfredi.

       Steven Hilton was long time maintainer of this module.

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

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.

Name

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

See Also

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

perl v5.34.0                                       2022-06-10             CGI::Test::Form...put::Text_Field(3pm)

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

See Also