Andrew Sterling Hanenkamp > Contentment-0.011_033 > Contentment::Form::Widget::TextArea

Download:
Contentment-0.011_033.tar.gz

Dependencies

Annotate this POD

Module Version: 0.01   Source  

NAME ^

Contentment::Form::Widget::TextArea - Text area widget

SYNOPSIS ^

  my $form = Contentment::Form->define(
      # ...
      widgets => {
          comment => {
              name  => 'comment',
              class => 'TextArea',
          },
      },
      # ...
  );

DESCRIPTION ^

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.

The widget constructor accepts the following arguments:

name (required)

This is the name of the widget. It will be used to set the name and id field for the widget.

AUTHOR ^

Andrew Sterling Hanenkamp, <hanenkamp@cpan.org>

LICENSE AND COPYRIGHT ^

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.

syntax highlighting: