Re: trouble with HTML_QuickForm_Controller not passing a hidden form field in the Jump action
| From: | Jeff MacDonald | Date: | Sat, 16 Jul 2005 19:52:00 +0000 |
| Subject: | Re: trouble with HTML_QuickForm_Controller not passing a hidden form field in the Jump action | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20027@lists.php.net to get a copy of this message | ||
On Sat, Jul 16, 2005 at 02:54:41PM -0400, Jeff MacDonald wrote:
> greetings!
>
> I'm using QF_C to do what I am hoping is a pretty simple thing. I can post
> the code I have if that will be useful, just let me know.
[..snipped..]
> I am not sure if this is a problem with QF_C or a problem with my code.. I'm
> hoping the latter :) and I'm seeking advice as to how to resolve this
> issue.
>
> regards,
> J
>
I did a search of the archives, and I should have done that *first* before
posting to the list :)
I found this post:
http://marc.theaimsgroup.com/?l=pear-general&m=110675000729448&w=4
which helped me resolve my problem nicely.
the key is to call $page->updateAttributes() for *each* page in
the form.
what would be cool as a new feature is to have a way to set the "action"
attribute with the controller instead of having to do it for all pages
individually but this method works so I'm happy.
thanks to toggg for kicking me in the right direction ("check the
archives").
regards,
J