Gerda Shank > HTML-FormHandler-0.40018 > HTML::FormHandler::Field::Submit

Download:
HTML-FormHandler-0.40018.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source   Latest Release: HTML-FormHandler-0.40056

NAME ^

HTML::FormHandler::Field::Submit - submit field

VERSION ^

version 0.40018

SYNOPSIS ^

Use this field to declare a submit field in your form.

   has_field 'submit' => ( type => 'Submit', value => 'Save' );

It will be used by HTML::FormHandler::Render::Simple to construct a form with $form->render.

Uses the 'submit' widget.

If you have multiple submit buttons, currently the only way to test which one has been clicked is with $field->input. The 'value' attribute is used for the HTML input field 'value'.

AUTHOR ^

FormHandler Contributors - see HTML::FormHandler

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Gerda Shank.

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: