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

  • intchina
    Asked on January 30, 2016 at 6: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

  • Welvin Support Team Lead
    Replied 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 

  • intchina
    Replied on February 2, 2016 at 2: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

  • Welvin Support Team Lead
    Replied on February 2, 2016 at 3:31 PM

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