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.

WEBSITE

You can find information about CGI::Test and other related modules at:

http://cgi-test.sourceforge.net

PUBLIC CVS SERVER

CGI::Test now has a publicly accessible CVS server provided by SourceForge (www.sourceforge.net). You can access it by going to:

http://sourceforge.net/cvs/?group_id=89570

AUTHORS

The original author is Raphael Manfredi <Raphael_Manfredi@pobox.com>.

Send bug reports, hints, tips, suggestions to Steven Hilton at <mshiltonj@mshiltonj.com>

SEE ALSO

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