Email Alerts - conditionally display content

  • RALSafetyteam
    Asked on July 16, 2021 at 9:55 PM

    Is there a way to edit the automatic email response to only show certain fields? like a summary of certain yes answers and their corresponding text

    I'm creating a management of change form.


    What I would like to do is when the form is finished, I would like any questions which are answered yes, and the conditionally formated text which comes from selecting yes, to show in the email that comes after the form is completed.


    For example, if yes is selected for


    'Will the change require or involve any excavation, soil contamination or contamination of groundwater?',


    then


    Describe the change or involvement regarding excavation, soil contamination or contamination of ground water?


    will show.


    what I want is for all yes questions and the corresponding text boxes to be put in a summary.


    is there a way to do this?



    Thanks 1626486615 60f23757a1c35  Screenshot 10

  • Ariel JotForm Support
    Replied on July 17, 2021 at 5:16 AM

    Hi there,

    Is this for your https://www.jotform.com/200779323325050 form?

    Unfortunately, conditionally displaying formatted text in the email alerts is not possible. Let me forward this to our backend team as a feature request. We will notify you if it gets implemented.

    In the meantime, your option would be to create multiple email templates and use Conditional Logic's Change E-mail Recipient to send the corresponding email template based on the user's answer.

    If you need further assistance, please feel free to contact us.

  • RALSafetyteam
    Replied on July 17, 2021 at 3:45 PM

    Thanks Ariel_P


    Is there a way that we could use the calculation tool to paste all the text box answers into one box.


    then I could just format the email to share that box.


    Kind regards


    Peter

  • Ariel JotForm Support
    Replied on July 17, 2021 at 5:25 PM

    Hi there,

    Actually, there is. You can use the Form Calculation widget to capture the value of other fields. You can't add brake lines in it though. Don't forget to declare the fields as string for those containing texts.

    1626556543 60f3487ff3cd6 gif6 Screenshot 10

    You can also use the Update/Calculate Field feature if you need to set or copy values conditionally.

    You may refer to the following guides for more related information:

    Don't hesitate to reach out if you have further questions.