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

    Host JS and CSS files locally?

    Asked by adficient on November 14, 2012 at 05:14 PM

    I just started using JotForm and I noticed it loads 2 JS files and 2 CSS files from JotForm's servers.  My website speed monitoring tool is taking like 1-2 seconds to load those 4 files so I'm wondering if I can just host them all locally and change paths in the source code.  Will that work?  Anything special I'd have to do?

    Thanks!

  • Profile Image

    Answered by GlobeTechnical on November 14, 2012 at 05:16 PM

    I'd also be interested to know the answer to this.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on November 14, 2012 at 05:33 PM

    The form's full source files (zip) can be downloaded and subsequently hosted on your own servers by following the instructions on the link below:

    http://www.jotform.com/help/104-How-to-Download-a-Source-Code-of-your-Form

    As long as the folder structure remains the same when the source is unzipped and uploaded, the files will be referenced correctly and the form should work as the JotForm-hosted version would.

    Feel free to ask if you have further questions.

    Best

  • Profile Image

    Answered by digitalactive on July 07, 2017 at 10:23 AM

    Hi,
    how about something like this?

    <script type="text/javascript" src="https://form.jotformz.com/jsform/xxxxxxxx" data-ext-css="../css/custom-jotform.css"></script>

    Using data attribute.
  • Profile Image
    JotForm Support

    Answered by EltonCris on July 07, 2017 at 12:53 PM

    @digitalactive

    Since this thread is way too old, we will answer your question to a separate thread here https://www.jotform.com/answers/1193664. We'll be on it shortly.