Do i need to amend the code to source JS & CSS from the downloaded files?

  • Roberts_Ryan
    Asked on November 12, 2019 at 11:23 AM

    Hi , When downloading the files, do i need to amend the code to source JS & CSS from the downloaded files rather than URL?

  • Kiran Support Team Lead
    Replied on November 12, 2019 at 1:32 PM

    I am not sure if I understand your query correctly. If you want to make any modifications to the form that are not possible from the form builder, you may download the full source code and make modifications to embed it on your web page. 

    Otherwise, you may embed the form using the default Javascript embed code or iframe embed code to display the form on your web page.

    Let us know if you are referring something different. We will be happy to help. 

  • UnitedScienceCorp
    Replied on December 5, 2019 at 6:04 PM

    I think what he is asking (and I am wondering as well), is if I host the JS and CSS files downloaded with my jotform source code on my own server, do I need to edit the source code to point to where those files are stored on my server?

    We want to minimize the number of times that our form goes back to jotform servers for JS and CSS resources (to help with our site speed). 

  • Kiran Support Team Lead
    Replied on December 6, 2019 at 2:01 AM

    do I need to edit the source code to point to where those files are stored on my server?

    In this case, it is not required to change any links in the source code as long as they are uploaded to the same folder of the server with the same folder structure in the zip file.

    157561565106122019 123011 Screenshot 10

    Thanks!