Carl Franks > HTML-FormFu-0.09010 > HTML::FormFu::Element::Textarea

Download:
HTML-FormFu-0.09010.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  12
Open  4
Stalled  1
View/Report Bugs
Source   Latest Release: HTML-FormFu-2.00

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::Role::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.

syntax highlighting: