[TYPO3-english] powermail - set field content depending on a other field content.

horace grant horace3d at gmail.com
Tue Mar 5 23:16:12 CET 2013


hi,

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.

this is one of my tries:

# if no first name
firstname = TEXT
firstname.data = TSFE:fe_user|sesData|powermail_85|uid12
firstname.ifEmpty.cObject = TEXT
firstname.ifEmpty.cObject.value = empty

[firstname = empty]

plugin.tx_powermail_pi1 {
  mode {
    recipient_mail {
      uid6 = TEXT
      uid6.value = ---
    }
  }
}

[global]

bye,
horace


More information about the TYPO3-english mailing list