JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Removing googleapis.com references from Jotform for forms used in ChinaAsked 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:
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
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.
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!
That's great to know. Please contact us again if we can help in any way.