Hi!
I was wondering if it would be possible to add text to an email based on the value of a field?
For instance when someone selected to subscribe to the newsletter we would like to add some text to the email like 'Thanks for your subscription to our newsletter. Don't forget to activate your subscription with the link in the activation e-mail you received'.
But this text should only appear in the mail when the value of {data:nieuwsbrief} is 'Ja'.
Is this possible?
Kind regards,
Jip
I was wondering if it would be possible to add text to an email based on the value of a field?
For instance when someone selected to subscribe to the newsletter we would like to add some text to the email like 'Thanks for your subscription to our newsletter. Don't forget to activate your subscription with the link in the activation e-mail you received'.
But this text should only appear in the mail when the value of {data:nieuwsbrief} is 'Ja'.
Is this possible?
Kind regards,
Jip
Hi Jip,
Yes, again with a Switch action:
Add {data:fieldname} in the data provider and set the value setup as:
then use {var:switch_name} in the email body
Best regards,
Max
Yes, again with a Switch action:
Add {data:fieldname} in the data provider and set the value setup as:
Ja:text goes here
then use {var:switch_name} in the email body
Best regards,
Max
This topic is locked and no more replies can be posted.