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.


  • Profile Image

    Is it possible to edit the source code of the thank you page?

    Asked by wstanRAD on April 05, 2017 at 04:21 PM

    On my form, I'm trying to add some tracking code to the custom thank you page I have setup from the conditional logic. I place the code, hit OK and save. When I go back in to the file to check that the code is there, it's missing. Can I not add code to the thank you page?

    Page URL:
    http://www.radley.com/Learn/casestudies.html

    Screenshot
  • Profile Image
    JotForm Support

    Answered by Kevin_G on April 05, 2017 at 06:35 PM

    Unfortunately, it's not possible to add JavaScript code and most of the HTML tags are not allowed either, this is why you can see the code removed when you re-open the wizard, in fact, you cannot add JavaScript code in the Form Builder. 

    You would need to redirect your user to a different page where, hosted on your own server, where you will have your own tracking code. 

    Here's also a guide that will help you to conditionally change the thank you page with conditions: https://www.jotform.com/help/317-Change-Thank-you-URL-Based-on-a-Condition 

    Hope this helps.