Forms and Form Data
Reset Buttons
"Reset" buttons are optional.
When "Reset" is invoked, the forms field contents are returned to the values they had when the page was originally rendered.
The Perl CGI construct to create a reset button would be as follows:
# Generate a reset button for this form print $query->reset();
Back to Syllabus
Previous: Submit Button
Next: Text Fields