Loading...
Skip navigation
Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.

Divergent recipients depending select box value

A select box with options 0/1 decide, who will receive the mail. Option 0 will send the mail to the default recipient, option 1 will be caught by the following condition:

# Condition for TYPO3 before 9.5
[globalVar = GP:tx_fluidform_form|form-footer-complete-customer = 1]
    plugin.tx_fluidform.settings.forms.callBack.finisher.mail.to.0.email = info(at)test(dot)de
[global]
# Condition since TYPO3 9.5
[traverse(request.getParsedBody(), 'tx_fluidform_form/form-footer-complete-customer') == 1]
    plugin.tx_fluidform.settings.forms.callBack.finisher.mail.to.0.email = info(at)test(dot)de
[end]

You can use other values or alternative TypoScript conditions as well.

Attention:

It might be, that your Mailhog only displays emails only unique, if you try to create an additional receiver with this logic.

Contact request

You can contact us at any time

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
RZD_________YGB______
1______G____4_2___QTL
XUO___OTJ___W_O______
R_W____9____2_Y___PTO
RM2_________ISN______

🎄 Bereits für's Weihnachtsmarketing?! 🎉

Entdecke den interaktiven Online-Adventskalender – perfekt für Websites, Shops und Kampagnen.

Gewinnspiele, Quiz, Gutscheine & mehr – alles, was Dein Weihnachtsmarketing braucht.

Für TYPO3-Websites Für andere Systeme