Using a reentrant form
| From: | Todd Cary | Date: | Tue, 13 Mar 2007 15:19:07 +0000 |
| Subject: | Using a reentrant form | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-250442@lists.php.net to get a copy of this message | ||
To validate a page, I set the form value to the page name the user is on. Then there is a hidden variable, "looped" that is set to "1". By checking "looped", I know if the user has re-entered the form so I can do my validation checks.
Is there a disadvantage to this approach?
Thank you...