Re: QFC: form with external parameter, managing the defaults
| From: | Bertrand Mansion | Date: | Fri, 12 Mar 2004 16:58:14 +0000 |
| Subject: | Re: QFC: form with external parameter, managing the defaults | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11271@lists.php.net to get a copy of this message | ||
<ignatius.reilly@free.fr> wrote :
> I've been confronted to the following problem:
>
> - starting QFC with an external REQUEST parameter, and loading the defaults
> accordingly
> - when the user abandons the form mid-way (for example with the back
> button), the defaults remain set, even though she now chooses another
> REQUEST parameter
>
> I have assembled a simple example case with a way to address this problem..
> http://auderghem-analytica.com/download/with-param.zip
> Hope this will be useful to somebody.
You can reset the controller container by using
$controller->container(true);
Bertrand