Andrew Sterling Hanenkamp > Form-Factory > Form::Factory::Control::Button

Download:
Form-Factory-0.022.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.022   Source  

NAME ^

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

VERSION ^

version 0.022

SYNOPSIS ^

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

DESCRIPTION ^

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

ATTRIBUTES ^

true_value

See Form::Factory::Control::Role::BooleanValue. 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 ^

This software is copyright (c) 2015 by Qubling Software LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: