All my forms cannot be displayed in my website in China?

  • visa21
    Asked on December 20, 2016 at 2:03 AM

    This is urgent!!

    All my forms cannot be displayed in my website in China, but it can be displayed in Hong Kong.

    form.jotform.com cannot be accessed from china????

    Jotform Thread 1015719 Screenshot
  • Ashwin JotForm Support
    Replied on December 20, 2016 at 2:18 AM

    Hello visa21,

    It seems our domain https://form.jotform.co is blocked in China. I am unable to see the screenshot you have shared. Can you please let us know the form URL which you are using?

    Please note that our domain https://www.jotform.com is not blocked and it should work fine. I would suggest you to please use the following form URL and see if this works fine:  https://www.jotform.com/50140364603948 or http://www.jotformpro.com/form/50140364603948 

    Please note that you can yourself check if any domain is blocked in China by clicking on the following URL:  http://www.blockedinchina.net/?siteurl 

    We will wait for your response.

    Thank you!

  • visa21
    Replied on December 20, 2016 at 3:45 AM
    New response receivedHello,
    1) all url that I give it to you now, you can accessed any where, except in china, try this one
    http://www.visa21.net/index_topic.php?did=249969&didpath=/261587/249969&charset=gb
    attached is the same url when I access in China
    2) all the forms that I created will have the url link to form.jotform.com, this is nothing I can do
    3) please investigate why form.jotform.com is blocked by the chinese authority, or jotform use different url,
    not form.jotform.com
    please fix this ASAP, otherwise we have no choice to stop using jotform.
    Regards
    Simon
    ...
  • Ashwin JotForm Support
    Replied on December 20, 2016 at 4:20 AM

    Hello Simon,

    I did check your webpage where you have embedded your form and found that you are using domain https://form.jotform.com to embed your form. Please note that this URL is blocked in China and that is the reason why it is not working for you. Please check the screenshot below:

    All my forms cannot be displayed in my website in China? Image 1 Screenshot 20

     

    Please use your form's following embed code and that should solve your problem:

     <iframe id="JotFormIFrame-43197670758973" onDISABLEDload="window.parent.scrollTo(0,0)" allowtransparency="true" src=" https://www.jotform.com/43197670758973" frameborder="0" style="width:100%; height:539px; border:none;" scrolling="no"> </iframe> <script type="text/javascript"> window.handleIFrameMessage = function(e) { var args = e.data.split(":"); var iframe = false; if (args.length > 2) { iframe = document.getElementById("JotFormIFrame-" + args[2]); } else { iframe = document.getElementById("JotFormIFrame"); } if (!iframe) return; switch (args[0]) { case "scrollIntoView": iframe.scrollIntoView(); break; case "setHeight": iframe.style.height = args[1] + "px"; break; case "collapseErrorPage": if (iframe.clientHeight > window.innerHeight) { iframe.style.height = window.innerHeight + "px"; } break; case "reloadPage": window.location.reload(); break; } var isJotForm = (e.origin.indexOf("jotform") > -1) ? true : false; if(isJotForm && "contentWindow" in iframe && "postMessage" in iframe.contentWindow) { var urls = {"docurl":encodeURIComponent(document.URL),"referrer":encodeURIComponent(document.referrer)}; iframe.contentWindow.postMessage(JSON.stringify({"type":"urls","value":urls}), "*"); } }; if (window.addEventListener) { window.addEventListener("message", handleIFrameMessage, false); } else if (window.attachEvent) { window.attachEvent("onmessage", handleIFrameMessage); } if(window.location.href && window.location.href.indexOf("?") > -1) { var ifr = false; if (args.length > 2) { ifr = document.getElementById("JotFormIFrame-" + args[2]); } else { ifr = document.getElementById("JotFormIFrame"); } var get = window.location.href.substr(window.location.href.indexOf("?") + 1); if(ifr && get.length > 0) { var src = ifr.src; src = src.indexOf("?") > -1 ? src + "&" + get : src + "?" + get; ifr.src = src; } } </script>

    Do try it out and get back to us if you have any questions.

    Thank you!