[TYPO3-english] Powermail 2.x: how to hide some field in .powermail_confirmation- and .powermail_create-markers?

John Kramer john.kramer at neys.org
Sun Jan 26 21:14:31 CET 2014


On 01/26/2014 10:58 AM, Bert Hiddink [BENDOO e-work solutions] wrote:
> Hello,
>
> I am using PM 2.x and are quite experiences in customizing forms with TS.
>
> However, how could I hide SOME fields/values from the marker
> ###POWERMAIL_ALL### and/OR ###POWERMAIL_RTE### when a visitor previews
> its submitted values? Can this done by TS? And how remove them from the
> email sent (###POWERMAIL_RTE###)?
>
> Any pointers?
>
> Thanks in advance!
>
> Regards,
> Bert

Hello Bert,

according to the manual

http://docs.typo3.org/typo3cms/extensions/powermail/2.0.10/Index.html

you can use the following values in the bodytext of a email:

>     - Add a static value
>
>     - Add {powermail_all} to get all values from the form in one table (with labels)
>
>     - Add a variable like {firstname}
>
>     - Add a viewhelper call like {f:cObject(typoscriptObjectPath:'lib.test')} to get a value from TypoScript or a userFunc
>
>     - or mix dynamic and static values

So I would choose the third option and set all the variables you want to 
send/show to the user.

Kind regards,
John




More information about the TYPO3-english mailing list