logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

HTML::Widget::Element::Submit - Submit Element

Author

       Sebastian Riedel, "sri@oook.de"

Description

       Submit button element.

       Inherits all methods from HTML::Widget::Element::Button.

       Automatically sets type to "submit".

License

       This library is free software, you can redistribute it and/or modify it under the same terms as Perl
       itself.

perl v5.36.0                                       2023-08-10                 HTML::Widget::Element::Submit(3pm)

Methods

newvaluelabel
       Sets the form field value. Is also used by the browser as the button label.

       If not set, the browser will usually display the label as "Submit".

       "label" is an alias for "value".

   retain_default
       If true, overrides the default behaviour, so that after a field is missing from the form submission, the
       xml output will contain the default value, rather than be empty.

Name

       HTML::Widget::Element::Submit - Submit Element

See Also

       HTML::Widget::Element

Synopsis

           $e = $widget->element( 'Submit', 'foo' );
           $e->value('bar');

See Also