HTML::Widget::Element::Textarea - Textarea Element


HTML-Widget documentation  | view source Contained in the HTML-Widget distribution.

Index


NAME

Top

HTML::Widget::Element::Textarea - Textarea Element

SYNOPSIS

Top

    my $e = $widget->element( 'Textarea', 'foo' );
    $e->comment('(Required)');
    $e->label('Foo');
    $e->cols(30);
    $e->rows(40);
    $e->value('bar');
    $e->wrap('wrap');

DESCRIPTION

Top

Textarea Element.

METHODS

Top

new

Create new textarea with default size of 20 rows and 40 columns

containerize

label

value

cols

rows

wrap

retain_default

If true, overrides the default behaviour, so that after a field is missing from the form submission, the xml output will contain the default value, rather than be empty.

SEE ALSO

Top

HTML::Widget::Element

AUTHOR

Top

Sebastian Riedel, sri@oook.de

LICENSE

Top

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.


HTML-Widget documentation  | view source Contained in the HTML-Widget distribution.