NAME

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

VERSION

version 0.001

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::Labeled, Form::Factory::Control::Role::ScalarValue.

METHODS

current_value

The current value is always the same as the label.

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.