Home » HTML » HTML_QuickForm_Controller » Bug #2323
destroying container: problem with the back button
Details
| Submitted | 2004-09-13 21:26 UTC |
|---|---|
| From | ignatius dot reilly at free dot fr |
| Assigned | avb |
| Status | Closed |
| Package | HTML_QuickForm_Controller |
| PHP Version | 4.3.8 |
| OS | irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2004-09-13 21:26 UTC] ignatius dot reilly at free dot fr
Description:
------------
For some reason I must clear the QFC container at the end of a successful processing.
This causes trouble when the user hits the back button after completing the multipage form (an action that usually has no logic, but which can happen frequently)
Reproduce code:
---------------
http://auderghem-analytica.com/download/qfc_bug.txt
Expected result:
----------------
After the user completes the form and hits the back button, the page called is:
http://localhost/wizard.php?_qf_page2_display=true
which shows an error message (because the container has been cleared, the variables
$GLOBALS['container']['values']['page1']['first_name'], etc. do not exist any more)
Actual result:
--------------
I would have expected - in the case of a modal form- that such a call be redirected to the page1 display form:
http://localhost/wizard.php?_qf_page1_display=true
because the container does not contain a ['valid']['page1'] = 1, so it should not show the page 2.