form values and the back button
| From: | Alastair | Date: | Sun, 13 Jan 2002 03:06:59 +0000 |
| Subject: | form values and the back button | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-80329@lists.php.net to get a copy of this message | ||
Is there a way to ensure that the data in a form is not cleared when you
click the back button?
I have numerous forms that all have some PHP error checking. The standard
error page has a simple JavaScript back command. Every time I click it (or
the browser's back button), it clears the form on the previous page. I
really don't want to have to keep all the data and repopulate the form if I
don't have to.
thanks,
alastair