Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reset or Clear Form after submitting

Status
Not open for further replies.

paakay

Programmer
Aug 23, 2005
7
0
0
How can a form be cleared or reset of input after the form has been submitted.

This is to prevent the user from using the PREVIOUS button to go back and re-submit the form.
 
the 'previous' button is part of the user experience.
why don't you want the user re-submitting the form after clicking the previous button? I believe the answer to this question will determine how to deter a user from re-submitting the form.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Instead of trying to disable the previous button's functionality, perhaps you should add some code to detect whether the information has been submitted at a prior time before inserting a new record with the form's data

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- The Complete IT Community
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top