Conditional email templates
-
Hi,
I have a 2 page form. The 1st page collects details of a one way taxi journey, the 2nd page is only required if the customer books a return journey. Several fields on the 2nd page have default values which, if sent to the customer will cause confusion.
I have created an email template which separates out the fields used in each leg of the journey and, in an ideal world, if the customer only booked a one way journey then a template containing only the one way data would be sent to the customer but if a return journey was booked then a different template would be used which contained both sets of data.
Is there a way to have either two templates or to have some data in the email template conditional depending on a field in the form?
Alternatively to have a hidden field at the start of page 2 which either says “Ignore everything below this line if you have booked a one way journey” or which is null if a return journey has been booked?
Thanks in anticipation.
Russell
The page I need help with: [log in to see the link]
- The topic ‘Conditional email templates’ is closed to new replies.