Re: HTML_Quickform and prevent from populating

From: Date: Mon, 25 Apr 2005 09:36:30 +0000
Subject: Re: HTML_Quickform and prevent from populating
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18942@lists.php.net to get a copy of this message
On Sunday 24 Apr 2005 20:06, jonathan twaddell wrote: > When I make a form and submit it and process it, I have a problem where if > you hit the back button, it gives you the form filled in with the values > you set it at since it sees those values in the post. How would I prevent > this? > I've done a workaround where i set a default value="" but that seems > kinda ugly. If it wasn't for this last line, I'd say it's certainly your browser filling that in. Makes a lot of sense to me: if I go back to the previous page, I want my browser to recall the state I left that page in. -- Lee Braiden http://www.DigitalUnleashed.com

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