[TYPO3-english] powermail - set field content depending on a other field content.
horace3d at gmail.com
Sat Mar 9 16:48:15 CET 2013
On Sat, Mar 9, 2013 at 3:04 PM, horace grant <horace3d at gmail.com> wrote:
> On Wed, Mar 6, 2013 at 10:25 AM, horace grant <horace3d at gmail.com> wrote:
>> On Wed, Mar 6, 2013 at 9:35 AM, Katja Lampela <katja.lampela at lieska.net
>> > Hi,
>> > 6.3.2013 0:16, horace grant kirjoitti:
>> > i am using powermail and would like to check if a field is empty. if
>> it is
>> >> empty i would like to set another field to a certain value.
>> >> how can i do this? i didn't find any working solution.
>> > Did you check Powermail Conditions, powermail_cond
> i have checked it now. it doesn't seem to help at all. it looks like it
> only can hide/show fields in the front-end, depending on some conditions.
> i want to chance the content of a field though, depending on some
> any other ideas?
i found a solution:
uid6 = TEXT
uid6.data = TSFE:fe_user|sesData|powermail_85|uid6
uid6.override = ---
uid6.override.if.isFalse.data = TSFE:fe_user|sesData|powermail_85
this seems to do exactly what i want. am i missing any troubles that could
arise from this solution?`
(sometimes i wish typoscript were more like a normal programming language.
those stdWrap constructs can be quite weird and confusing.)
More information about the TYPO3-english