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

  • Profile Image
    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?



    This is a re-post of a comment on How to get the Full Source Code of your Form

  • Profile Image
    Kiran
    Answered on November 12, 2019 at 01: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. 

  • Profile Image
    UnitedScienceCorp
    Answered on December 05, 2019 at 06: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). 

  • Profile Image
    Kiran
    Answered on December 06, 2019 at 02: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.png

    Thanks!