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
K9L_________EN6______
9______6____8_G___E5Q
7XI___9KR___D_Z______
L_P____Z____W_7___D4T
8BD_________BCU______