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


Form-Factory documentation  | view source Contained in the Form-Factory distribution.

Index


NAME

Top

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

VERSION

Top

version 0.020

SYNOPSIS

Top

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

DESCRIPTION

Top

A regular text box.

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

METHODS

Top

has_current_value

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

AUTHOR

Top

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

Top


Form-Factory documentation  | view source Contained in the Form-Factory distribution.