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

    How and where to insert a custom script in the body of the form source codes?

    Asked by Jonneal3 on July 22, 2017 at 04:21 PM

    I have to add a script to a jotform

    A jotform rep said the only way I can do this is by copying the source code and manually altering the code from there..

    The script that i must add to the "body" section of source code is this:

    <script type="text/javascript" src="//cdn.callrail.com/companies/910482544/8a456617158cadb74b3e/12/swap.js"></script>

    My question is.... Where is the body of the source code? I need to add it and I have tried adding to about 20 places and it is still not triggering the script. 

  • Profile Image
    JotForm Support

    Answered by Welvin on July 22, 2017 at 11:08 PM

    The body tag wraps the entire form element. At the bottom, add the script before the closing </body> tag. See screenshot:


    See if that works. Would you also mind explaining the use of the script? I understand it's a call tracking script, but aside on that, I don't know what the script will do when placed in the form source codes.