Add custom js to forms

  • Profile Image
    iver56
    Asked on March 12, 2018 at 02:44 PM

    I've recently started implementing Navis tracking on my website and need to update the js on all forms that are embedded. How would I do this? There is no URL to share as  would like to update ALL forms on ALL pages. Thanks. 

  • Profile Image
    david
    Answered on March 12, 2018 at 03:39 PM

    Javascript cannot be added directly to forms.  Any script code is automatically stripped for security reasons.  It is possible to redirect to your own custom thank you page and insert your tracking scripts in that page:

    https://www.jotform.com/help/211-Setting-up-the-Thank-You-Page

    Or embed your form to a web page using the source code:

    https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form

    And insert your code in with the source code.