Contentment::Form::Widget::TextArea - Text area widget
my $form = Contentment::Form->define( # ... widgets => { comment => { name => 'comment', class => 'TextArea', }, }, # ... );
This is a simple multiline text widget. It is planned that this widget may perform complicated validation, such as checking number of characters, number of words, etc. on both server and client side.
The render() method is preferred for this widget.
render()
The widget constructor accepts the following arguments:
This is the name of the widget. It will be used to set the name and id field for the widget.
Andrew Sterling Hanenkamp, <hanenkamp@cpan.org>
Copyright 2005 Andrew Sterling Hanenkamp <hanenkamp@cpan.org>. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1 POD Error
The following errors were encountered while parsing the POD:
=cut found outside a pod block. Skipping to next block.
To install Contentment, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Contentment
CPAN shell
perl -MCPAN -e shell install Contentment
For more information on module installation, please visit the detailed CPAN module installation guide.