Re: How to make a form retain its info
| From: | Brian T. Allen | Date: | Thu, 27 Jul 2000 18:28:55 +0000 |
| Subject: | Re: How to make a form retain its info | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-8631@lists.php.net to get a copy of this message | ||
I am almost positive that it is the browser, not the site, that determines
whether field values are retained when you press the back button.
The real solution to this is to design a form where they don't press the
back button if there is an error. All forms on all of my sites submit to
themselves, not another page, and display error messages in the page itself,
with all of the information retained. Regardless of the browser or how they
fill out the form, their information is retained until they are successful
(unless they leave and come back of course).
If I had my way the back button wouldn't exist. With good design it is
obsolete, and can only cause problems from a technical stand point (like
when they fill out a form then press the back button and it automatically
resubmits the form, like IE5 does).
Brian
> At 12:35 PM 7/27/00 -0500, Chris Murley wrote:
> >You Can't If they use the Back button, You could have them click a link
> >and go back to the page, then store te data in a database.
>
> On my site, forms retain their values.. I don't know why, exactly, but I'm
> thankful.
> Lots to fill out, and if you leave some little thing off, it's very
> annoying to hit the "Back" button and be faced with a blank form..
>
>
> --
> www.SpamWhack.com A pre-emptive strike against spam
> Where's dave?
> http://www.findu.com/cgi-bin/find.cgi?kc6ete-9
>
> My transistor sings
> with unintended parasitic
> the smoke escapes
>
> By Jeff Stout
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net