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
SFK_________X9Z______
D______M______9___P3F
TY1___9KB___Z4C______
2_C____I____3_____D5O
HPA_________9J1______