Andrew Sterling Hanenkamp > Form-Factory-0.020 > Form::Factory::Control::Text

Download:
Form-Factory-0.020.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.020   Source  

NAME ^

Form::Factory::Control::Text - A single line text field

VERSION ^

version 0.020

SYNOPSIS ^

  has_control your_name => (
      control => 'text',
      options => {
          label         => 'Your Real Name',
          default_value => 'Thomas Anderson',
      },
  );

DESCRIPTION ^

A regular text box.

This control implements Form::Factory::Control, Form::Factory::Control::Role::Labeled, and Form::Factory::Control::Role::ScalarValue.

METHODS ^

has_current_value

We have a current value if it is defined and has a non-zero string length.

AUTHOR ^

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright 2009 Qubling Software LLC.

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

syntax highlighting: