[TYPO3-english] formhandler

Stano Paška stano.paska at gmail.com
Tue Dec 6 15:26:44 CET 2011


Hi.
See
http://www.typo3-formhandler.com/documentation/articles-howtos/d/how-to-use-your-own-component/

In your component you must write your code into process function.

Look into existing finishers/interceptors how to get posted values.
I do not write exactly code here, because I used it in 0.9 beta version...

Stano.

On 6.12.2011 15:07, Lamb, Brian wrote:
> Thanks Stano. Is there documentation somewhere on how to do this?
> ________________________________________
> From: typo3-english-bounces at lists.typo3.org [typo3-english-bounces at lists.typo3.org] On Behalf Of Stano Paška [stano.paska at gmail.com]
> Sent: Tuesday, December 06, 2011 8:45 AM
> To: typo3-english at lists.typo3.org
> Subject: Re: [TYPO3-english] formhandler
>
> 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
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list