Re: [SMARTY] Form Cache Problem ...
| From: | Monte Ohrt | Date: | Sat, 11 May 2002 18:12:44 +0000 |
| Subject: | Re: [SMARTY] Form Cache Problem ... | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4170@lists.php.net to get a copy of this message | ||
Yes, don't rely on the back button, every browser works different. If the form data is invalid, redraw the form with the info in tact and display an error message.
Pao-Hsi Huang wrote:
Hi all, When I starting use Smarty Template Engine, every form will not cache content at all. For example: I need to insert one record of data, then I fill every field into form field, then I press "Submit". If the data validation fail, I press "Back" button of browser. Everything miss out!! Oh, my god. I have to re-input again. If I use general static page form, it will cache just typed data in the form fields. Does anyone know how & why these stuff happen? Thanks a lot. Best regards, Pao-Hsi Huang-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.