---
name: "CGI::Test::Form::Widget::Button::Reset"
section: "3pm"
platform: "linux"
package: "libcgi-test-perl"
version: "1.111-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/CGI::Test::Form::Widget::Button::Reset"
---

# CGI::Test::Form::Widget::Button::Reset(3pm)

A reset button

## NAME

CGI::Test::Form::Widget::Button::Reset - A reset button

## SYNOPSIS

```
 # Inherits from CGI::Test::Form::Widget::Button
 # $form is a CGI::Test::Form
 my @reset = $form->buttons_matching(sub { $_[0]->is_reset });
 $reset[0]->press if @reset;
```

## DESCRIPTION

This class models a reset button.  Pressing this buttom immediately resets the form to its original state.  The processing is done on the client-side, and no request is made to the HTTP server.

The interface is the same as the one described in CGI::Test::Form::Widget::Button.

## AUTHORS

The original author is Raphael Manfredi.

Steven Hilton was long time maintainer of this module.

Current maintainer is Alexander Tokarev *\<tokarev@cpan.org\>*.

## SEE ALSO

**CGI::Test::Form::Widget::Button**(3).
