QuickForm_Controller : overiding the submit and next actions
| From: | James Carr | Date: | Mon, 24 Oct 2005 22:00:19 +0000 |
| Subject: | QuickForm_Controller : overiding the submit and next actions | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-21620@lists.php.net to get a copy of this message | ||
Hi,
I've been using quickform controller and would like to add some
actions to take place when a form is submitted. I added the following:
$controller->addAction('next', new ActionSubmit());
In which the class ActionSubmit has a perform method that does what I
want. This works, but unfortunately it leaves me out in the cold as
well. It does what I put in there and stops there, completely skipping
over quickform_controller's default operations. Is there something I
can call to resume the normal operation?
Thanks,
JC