How can I add a form field in the thank you page?

  • FranckMuller
    Asked on May 8, 2018 at 6:48 AM

    How can I add a form field ? I see the option on regular forms but not on Card forms..

    I need to add a special field in the thank you page as shown here: https://www.jotform.com/answers/1369047-Can-you-redirect-based-upon-the-generated-URL

    Thank you,

  • roneet
    Replied on May 8, 2018 at 8:48 AM

    Can you please elaborate what special field you want to add in the Thank you page, so that I can suggest you more specific solution. However, If you want to refer any element used in the previous forms, simply use {YOUR FIELDNAME} to get the value in the Thank you page.

    .1525783554jot Screenshot 10

    I have created a sample JotForm for your reference 

    https://form.jotform.me/81273120546450


    Thank you for reaching out to us. 

  • BJoanna
    Replied on May 8, 2018 at 10:34 AM

    For the solution roneet provided you would need to use conditional logic. 

    How to Change "Thank You" Message Using Conditional Logic

    The same can be done with default thank you page without conditions. In the guide you posted your comment, you can see how to edit the Thank You page in a Card Form. It is not possible to select the form field on the Thank You page using Card Forms, but you can add Unique Name of the field to the thank you page. 

    Inside of this guide, you can see how to find the field name:

    How to Find Field IDs and Names

    1525789932ThankYou Screenshot 10

    Here is my demo form: https://form.jotform.com/81274594032961 

    Feel free to test it and clone it

  • luisvcsilva
    Replied on May 8, 2018 at 10:57 AM

    If you need to pass the values from your form to a URL, there are a few steps that you have to do:

     

    While editing your form, select the field in which you want to pass it on the URL, change it's properties by clicking on the gear icon.

    1525790649step 0 Screenshot 10

     

    Then, on the properties panel (right side), select the "Advanced" tab, and scroll down the panel, you will see the field details, define a unique name for your field. In my example I used "optionBox"

    1525790945step 2 Screenshot 21

    After you defined a name for your field, go to "Settings" and add a new condition to your form.

    1525791004step 3 Screenshot 32

    Add a condition in the thank you page by clicking the button "Change thank you page".

    1525791183step extra Screenshot 43

    Add the following condition:

    1525791051step 4 Screenshot 54

    If         

    State    

     

    Then     

    URL       <yourUrl.com?externalField={nameOfJotFormField}>

     

    If you need more fields in the URL, just put an ampersand (&) and follow the same pattern, for instance:

    nameOfTheExternalField={nameOfTheJotFormField}

     

    You have to put the name of your fields inside curly brackets, like this: {yourField}. Any field value from your form can be accessed by putting it's name around brackets.

    In my example, once the user submits his answer, he is redirected to google.com/?value=2. If needed, you can do this procedure with different kinds of GUI elements in your form, not just radio buttons.

    I did a similar form with this feature and you can clone it, you can find it here: