Retain form values...
| From: | Jonathan Villa | Date: | Thu, 18 Mar 2004 20:01:00 +0000 |
| Subject: | Retain form values... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-180903@lists.php.net to get a copy of this message | ||
I want to be able to submit the page to another page vs PHP_SELF. On
that page I want to be able to validate the form, and if it fails,
return the user to the previous page. Now that's easy, but the catch is
that I want to retain/repopulate their field values.
I was thinking of forcing a history.back if possible, but would rather
use some server side code. I tried researching what can be done with
sending headers, but I don't want to use a GET method. I want to use
POST.
thoughts?