Re: HTML_Quickform and prevent from populating
| From: | Justin Patrin | Date: | Sun, 24 Apr 2005 20:20:22 +0000 |
| Subject: | Re: HTML_Quickform and prevent from populating | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18934@lists.php.net to get a copy of this message | ||
On 4/24/05, jonathan twaddell <southernmirage@hotmail.com> 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.
>
Are you sure it's seeing the values in POST? If the values are in
$_POST and you're setting defaults with setDefaults the POST values
should take precedence. What browser are you using?
--
Justin Patrin