What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
I would like to have dynamic content through conditional logic in my html emails. Is this possible?Asked by locky on January 13, 2016 at 07:55 PM
I have about 16 different outcomes for a form that I have created. Instead of having 16 different emails is there a way to use conditional logic in an html email body? I would like to use the answers in submission fields as the content drivers i.e. if they have clicked yes on this question this sentence is used in lieu of another in the email body.
Is there any resource available to look at that can guide me through this process?
Answers on email are actually dynamically filled base on the users answer. You can also customize the notification template like inserting paragraphs with field tags.
However, if you want to show/hide field answers including its label on the notification, unfortunately, that's not possible without creating multiple notifications. Alternatively, if you know PHP programming, you may want to create a custom notification with the conditions you want and add it as Webhook in your form.
You can find examples here http://www.jotform.me/help/248-Webhook-Samples
Let us know if you have further questions.