HTML::Widget::Element::Submit(3pm)

HTML::Widget::Element::Submit3pm

Submit element

Usage

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

Overview

Submit button element.

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

Automatically sets type to "submit".

Methods

new

value

label

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.

Releases

10 releases since Debian 4.0 (Etch); the text changed 7 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8–9
  6. 10–11
  7. 12
  8. 13

Author

Sebastian Riedel, "[email protected]"

License

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

From libhtml-widget-perl 1.11-7 in Debian 13 (Trixie). Parsed by carta from the page's man source.