Scroll to navigation

HTML::FormFu::Element::Textarea(3pm) User Contributed Perl Documentation HTML::FormFu::Element::Textarea(3pm)

NAME

HTML::FormFu::Element::Textarea - Textarea form field

SYNOPSIS

    my $element = $form->element( Textarea => 'foo' );

DESCRIPTION

Textarea form field.

METHODS

cols

Sets the "textarea" tag's "cols" attribute.

rows

Sets the "textarea" tag's "rows" attribute.

placeholder

Sets the HTML5 attribute "placeholder" to the specified value.

placeholder_xml

If you don't want the "placeholder" attribute to be XML-escaped, use the "placeholder_xml" method instead of "placeholder".
Arguments: $string

placeholder_loc

Arguments: $localization_key
Set the "placeholder" attribute using a L10N key.

SEE ALSO

Is a sub-class of, and inherits methods from HTML::FormFu::Element::_Field, HTML::FormFu::Element
HTML::FormFu

AUTHOR

Carl Franks, "cfranks@cpan.org"

LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
2012-01-14 perl v5.14.2