RE: retaining form information when someone presses back

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i tend to have a function that show the form and a processing function. In the processing function i preform my sanity checks and then if there are errors pass the $_POST data back to the show_form($data, $errors) with the relevant errors. This removes the need to have the users press the back button and allows the form to show its data again..

Bastien


From: "Flint Million" <fmillion@xxxxxxxxx>
To: php-db@xxxxxxxxxxxxx
Subject:  retaining form information when someone presses back
Date: Mon, 1 Jan 2007 02:13:37 -0600

This might not be relavent for this forum, so if not please direct me
to the proper one; although I do like to keep my email list
subscriptions down.

I have a custom application in PHP in which a user fills out a form of
information. When the user submits, I perform sanity checking on the
user's submitted data and refuse to actually process/insert it if
those checks fail. However, my users are complaining that when they
press back to correct, all the data is gone from the form and they
have to re-enter it all. I know many websites that can retain the form
data when someone presses back; how is this done?

Flint M

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


_________________________________________________________________
Enter the "Telus Mobility Xbox a Day" contest for your chance to WIN! Telus Mobility is giving away an Microsoft Xbox® 360 every day from November 20 to December 31, 2006! Just download Windows Live (MSN) Messenger to your IM-capable TELUS mobile phone, and you could be a winner! http://www.telusmobility.com/msnxbox/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux