Re: QF reset values of fiels to NULL and not to session entries?
| From: | Alexey Borzov | Date: | Fri, 25 Feb 2005 19:58:45 +0000 |
| Subject: | Re: QF reset values of fiels to NULL and not to session entries? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-17689@lists.php.net to get a copy of this message | ||
Hi,
Patrick Fehr wrote:
I'm using QuickForm Controller and now got all up and running, but there is one little thing: how can I "reset all fields to zero"? I mean, the problem is that QFC there uses sessions and once entered and came back on them, if I reset, it resets to the last entered texts and not to NULL. Do I therefore have to kill the session or is there another way?Yes, you need to clear the container: http://pear.php.net/manual/en/package.html.html-quickform-controller.html-quickform-controller.container.php