Form::Factory::Control::Button - The button control


NAME

Form::Factory::Control::Button - The button control


VERSION

version 0.017


SYNOPSIS

  has_control a_button => (
      control => 'button',
      options => {
          label => 'My Button',
      },
  );


DESCRIPTION

A control representing a submit button. This control implements the Form::Factory::Control manpage, the Form::Factory::Control::Role::BooleanValue manpage, the Form::Factory::Control::Role::Labeled manpage, the Form::Factory::Control::Role::ScalarValue manpage.


ATTRIBUTES

true_value

See the Form::Factory::Control::Role::BooleanValue manpage. By default, this value is set to the label. If you change this to something else, the button might not work correctly anymore.


METHODS

default_isa

Boolean values default to Bool.


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.

 Form::Factory::Control::Button - The button control