Re: QuickForm Clear posted fields

From: Date: Tue, 07 Feb 2006 16:11:42 +0000
Subject: Re: QuickForm Clear posted fields
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22842@lists.php.net to get a copy of this message
"Damien Cros" wrote: > Ok, but there must be a way to clear the submitted values and build > the form as if it was the first time. Like emptying the proper array. > Or maybe just clear $_REQUEST, I don't know. You can clear $_POST, of course. The fields will be empty then. But as Alexey said, you don't really want that. If the user reloads the page, the original values will be submitted again. => The only clean solution is a redirect. Regards, Mark

« previous php.pear.general (#22842) next »