RE: [PEAR] QuickForm_Controller - Custom Action
| From: | Mike Carter | Date: | Tue, 30 Mar 2004 13:38:36 +0000 |
| Subject: | RE: [PEAR] QuickForm_Controller - Custom Action | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11527@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Matthias H. Risse [mailto:usenet@risse.org]
>
> i need to access the contents of the container right
> _after_ the user clicked the NEXT-button in a multipagewizard
> form and _before_ the controller takes care of analyzing the
> container-data for the current page and takes proper
> actions.
>
> does anyone know where this point in quickform controller package
> is? (hey alexey, how r u doing? ;) i tried writing a custom
> next-action,
> but this does not seem to be the right point.
I did it once. Copy the code for the Next action from the relevant class
file. Insert your custom stuff in before the standard Next procesing and
then attach that class instead of the standard 'Next' one to the submit
button.
- Mike.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________