RE: [PHP] Retain form values...
| From: | Shane McBride | Date: | Fri, 19 Mar 2004 02:05:48 +0000 |
| Subject: | RE: [PHP] Retain form values... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180936@lists.php.net to get a copy of this message | ||
Actually all form validation is done before the form action takes place, so
that way we do not loose input.
shane
-----Original Message-----
From: Chris W. Parker [mailto:cparker@swatgear.com]
Sent: Thursday, March 18, 2004 6:38 PM
To: Shane McBride; PHP
Subject: RE: [PHP] Retain form values...
Shane McBride <mailto:smcbride@rditech.net>
on Thursday, March 18, 2004 3:37 PM said:
> Gotcha. I typically use javascript to validate before the form is
> posted to validate.
ok.. but i don't see how that helps. you're still validating on the
server side right? in which case you could still have a failed
validation, thus the need to send the users data back to the original
page.
chris.