[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-general
Subject:    Re: [PEAR] HTML_Quickform and prevent from populating
From:       Lee Braiden <lee.b () digitalunleashed ! com>
Date:       2005-04-25 9:36:30
Message-ID: 200504251036.30940.lee.b () digitalunleashed ! com
[Download RAW message or body]

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

-- 
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic