Re: Problem with HTML_QuickForms_Controller making a custom action
| From: | Bertrand Mansion | Date: | Mon, 21 Jun 2004 14:01:32 +0000 |
| Subject: | Re: Problem with HTML_QuickForms_Controller making a custom action | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13225@lists.php.net to get a copy of this message | ||
Jachin Rupe wrote:
>hi there
>
>I am trying to make a very simple confirm form. It's very simple
>should work. So simple in fact I though it might be a php problem but
>I have tried it on a couple different version of php with no luck.
>
>When you run it the ActionProcess->perform gets called when you hit the
>'yes' button. However when you hit the 'no' button the
>ActionCanel->perform does not seem to be called.
>
>any help would very appreciated
>
>class ActionCancel extends HTML_QuickForm_Action
>{
> function preform(&$page, $actionName)
> {
> echo 'It is NOT done.';
> }
>}
LMAO, look at the name of your method !
Bertrand Mansion
Mamasam