HTML::Widget::Element::Reset - Reset Element
Contents
Description
Reset button element.
Inherits all methods from HTML::Widget::Element::Button.
Automatically sets type to "reset".
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::Reset(3pm)
Methods
newlabelvalue
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 "Reset".
"label" is an alias for "value".
Name
HTML::Widget::Element::Reset - Reset Element
See Also
HTML::Widget::Element::Button, HTML::Widget::Element
Synopsis
$e = $widget->element( 'Reset', 'foo' );
$e->value('bar');
