Scroll to navigation

HTML::FormHandler::Field::Submit(3pm) User Contributed Perl Documentation HTML::FormHandler::Field::Submit(3pm)

NAME

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

VERSION

version 0.40068

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) 2017 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.

2022-03-25 perl v5.34.0