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

    Removing googleapis.com references from Jotform for forms used in China

    Asked by intchina on January 30, 2016 at 06:53 PM

    Dear Jotform Team:

    I am using the form generated by jotform in China (the form is titled Application China), and I am running into errors when loading the page with my Jotform form from China because of a Google-related part of the script. As a result, the Jotform does not load at all over there (Google and everything Google is blocked in China). The specific errors reference the following:

    http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js

    http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js

    Where are those scripts and how can they be eliminated? I have some custom CSS within my form to use an external font hosted at USESO (China (Taiwan?)-based Google fonts mirror site not blocked in China), but I am missing something somewhere, I assume, since there is that webfont.js script that is still active.

    Also, my Submit button is a custom one, but the .gif for Pay With Paypal is still somehow active (https://www.paypal.com/en_US/i/btn/btn_dg_pay_w_paypal.gif). Where is it and how do I get rid of it? (It is minuscule in size, at under 3 Kb, but it is adding 6 seconds to my page load time from China, which is, needless to say, substantial).

    I removed the embedded Jotform from the page and the ajax.googleapis.com errors vanished, so, I believe I am not wrong in assuming that those error-causing scripts are part of the Jotform.

    Any help/advice on the subject would be highly appreciated.

     

    Thank you in advance for your help

    China
  • Profile Image
    JotForm Support

    Answered by Welvin on January 31, 2016 at 11:16 AM

    The Google API Links are part of the Widgets in your form, the terms and condition widget and the configurable list widget. Unfortunately, I don't think you can remove these in the form even if you are embedding the source codes. You have to replace both with our regular fields if that's the case.

    As for the Paypal button, you can find it in the source codes.

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

  • Profile Image

    Answered by intchina on February 02, 2016 at 02:18 PM

    Thank you! That helped a bunch - I removed the Terms and Conditions and Configurable List widgets, and found a workaround for both - and the Google-related errors are gone!

    Thank you! That was a huge help!

    K

  • Profile Image
    JotForm Support

    Answered by Welvin on February 02, 2016 at 03:31 PM

    That's great to know. Please contact us again if we can help in any way.