Re: HTML_QuickForm_Controller + URL parameters
| From: | Alexey Borzov | Date: | Tue, 16 Dec 2003 08:19:21 +0000 |
| Subject: | Re: HTML_QuickForm_Controller + URL parameters | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9547@lists.php.net to get a copy of this message | ||
Hi!
Aaron wrote:
I can get the QuickForm_Controller to work except for when I have a page that receives parameters (related to page navigation) via the url. For example I have a plain page that loads at index.php without the form, but index.php?page=1 loads a page with the form. Therefore when I submit the form it takes me back to index.php, instead of index.php?page=1. I've noticed that the QuickForm_Controller does not let you load a custom action for the form's attributes, so I can't load the action in the form directly as I could with QuickForm. Is there a solution, or am I just doing something completely wrong?Have you tried adding the hidden 'page' field with value 1 to the form?