[TYPO3-english] formhandler
Stano Paška
stano.paska at gmail.com
Tue Dec 6 14:45:44 CET 2011
Hi Brian.
You must write your own saveInterceptor or finisher.
THT
Stano.
On 6.12.2011 14:30, Lamb, Brian wrote:
> Hi all,
>
> I'm migrating from the old mailformplus extension to the new formhandler extension. I've been using the website http://www.typo3-formhandler.com/ which has a good bit of documentation but it doesn't quite answer all of my questions.
>
> With mailformplus, I could call a PHP script when the form was submitted like so,
>
> plugin.tx_thmailformplus_pi1.saveUserFunc = fileadmin/template/main/scripts/php/class.form_processing.inc:form_processing->post_process
>
> Is there a way to do that with formhandler? I can replicate most of what that script does with TS but not everything and I think it would be easier to set a couple of the variables like where the email goes inside a PHP script.
>
> That leads me to my next question. On http://www.typo3-formhandler.com/documentation/articles-howtos/a/how-to-set-up-a-multistep-form-with-conditions/, it demonstrates how you can use conditionals to set different variables. My question is is this specific to formhandler or can this just general typoscript. Either way, if there is more documentation about this, that would be fantastic. I have something in place but it seems very convoluted and there has to be a better way to do it that the way I'm doing it. Specifically, I'm looking to set up an if, else/if, else/if, else/if, else type structure.
>
> Thanks for all the assistance.
>
> Brian Lamb
More information about the TYPO3-english
mailing list