How can I dynamically Update the Thank You Page

  • eborishade
    Asked on July 24, 2024 at 2:20 PM

    I really like this software and I am currently using it to turn doctor's visit notes into something more humanly readable, with set sentence patterns and wording where sentence details are filled by form data.
    I use the Thank You for your submission page to return what the user has entered, converted to the paragraph report.

    I would like to dynamically update the Thank you for your submission page, so that whether a user fills out a certain questions determines whether a line displays on the Thank You page.

    For example: 3 Questions:
    1. What is the age of the patient:
    2. What are the allergies of the patient:
    3. What was the date of the accident?
    4. What is the name of the patient?

    I want to build a thank you page like this:
    Accident Date: {accident_date}
    Allergies: {allergies_ans}
    Patient Age: {p_age}
    Patient Name: {p_name}

    Desired Logic:
    IF {allergies_ans} = null
    thank_you_page = thank_you_page - [line 2: allergies line]

    ...or something to this effect, where I can dynamically display a particular line on the thank you page based on whether an answer was given. It could be something as simple as Condition Logic where If [condition] APPEND [user input] to last line of thank you page

    so that I could reorder the objects accordingly such that it builds:
    Accident Date: {accident_date}
    Patient Age: {p_age}
    Patient Name: {p_name}
    Allergies: {allergies_ans} [if any]


    Is there any way this, or something similar is possible?

  • Mafe_M JotForm Support
    Replied on July 24, 2024 at 4:06 PM

    Hi Emmanuel,

    Thank you for reaching out to Jotform Support. With Jotform’s conditional logic, you can change your Thank You page depending on how your form filler interacts with your form. It can override your default Thank You page conditionally, which is useful if you need to display personalized messages based on user answers. 

    If that’s not exactly what you’re looking for, can you explain a bit more so I can help you better? Can you take a screenshot of what are you trying to achieve and send it to us? This guide will show you how to do that.

    Once we hear back from you, we'll be able to move forward with a solution.


  • eborishade
    Replied on July 24, 2024 at 4:47 PM

    I did see Jotform's conditional logic, however I was under the impression that whatever is entered onto the Thank You page in the conditional logic OVERRIDES what is on the default Thank You page, rather than APPENDing to the Thank you page.

    Is there some sort of append feature or similar?

  • Mafe_M JotForm Support
    Replied on July 24, 2024 at 5:19 PM

    Hi Emmanuel,

    It can override your default Thank You page conditionally if you need to display personalized messages based on user answers. Does it not override the default thank you page when the thank you page conditions? 

    Once we hear back from you, we'll be able to move forward with a solution.

  • eborishade
    Replied on July 24, 2024 at 5:24 PM

    Is there by chance a developer or app engineer available that can review my question?

  • Mafe_M JotForm Support
    Replied on July 24, 2024 at 5:41 PM

    Hi Emmanuel,

    Can you share with us a screen recording of what’s happening so we can try to replicate it on our end? You can share the video recording on any public sharing platform like Google Drive or Dropbox, or you can simply use Loom to record the video and share the video link with us.

    Once we hear back from you, we'll be able to move forward with a solution.


  • eborishade
    Replied on July 25, 2024 at 9:17 AM

    Please have someone else review my question.

  • Arthur JotForm Support
    Replied on July 25, 2024 at 9:41 AM

    Hi Emmanuel,

    When you set up Thank You page conditionally, it overrides the default Thank You page. If the conditionally set up Thank You page collides with the default one, Jotform automatically and dynamically detects and shows the conditionally set up Thank You page. You can check out the example form that I created for you to check out how it is specifically formed.

    I edited the Thank You page as "Default Thank You page". Then I added two conditions. The first one will be displayed when the Name field is filled, and the second will be displayed when the Name field is empty. Their respective Thank You pages are also edited according to their conditions.

    Normally, the first condition, which is "If name is filled" would collide with the default Thank You page, but since it is set up conditionally, it won't, and will override the default one. You can also check out the screencast below to see how it looks:

    How can I dynamically Update the Thank You Page Image 1 Screenshot 20 Reach out to us again, if you need any other help.

  • eborishade
    Replied on July 25, 2024 at 10:28 AM

    This is great, however a problem is introduced as fields and conditions increase. What happens when you want a name, and an email, to appear if filled on the thank you page?

    You would now need 2^2 = 4 conditional statements, one for each combination:
    1. name filled, email filled = Thank You page 1
    2. name filled, email blank = Thank You page 2
    3. name blank, email filled = Thank You page 3
    4. name blank, email blank = Thank You page 4

    This continues to scale as fields to display on thank you page increase.
    If say you want 3 fields, well now you need 2^3 = 8 thank you pages.

    I have a form with about 35 fields that should display on the thank you page depending on whether they are filled or not. If I were to use this current method of overriding the Thank You Page, I would need to build 2^35 conditionals & Thank You Pages. No thank you.

    Is there a way to use conditionals to APPEND to the thank you pages instead of override, so that I only need 1 Thank You Page, and only 35 conditionals? If not, is there a better way to go about accomplishing this task?


  • Christopher JotForm Support
    Replied on July 25, 2024 at 10:37 AM

    Hi Emmanuel,

    There is no option to append a field value to the Thank You Page using a condition. Your requirement can only be achieved with what my colleague Arthur has provided you, where you can replace the Thank You Page using condition.

    Let us know if there’s anything else we can help you with.

Your Answer