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

    Form won't load

    Asked by Oblio on August 03, 2013 at 01:07 AM

    I have created a form and used the standard embed code in a site I'm building (not currenlty uploaded to a URL).  Initially all was fine and the form was displayed correctly.  A test submission was also fine.  Now the form won't load and I receive a '522 Origin Connection TIme Out Error'.  Apart from the form not displaying, this also ties up the browser and delays other javascript.  Is there a problem at the JotForm Server, or have I made a mistake in the form creation process?  The embed code is:<script type="text/javascript" src="//form.jotform.co/jsform/32140347525851"></script>.

     

    Thanks

    Screenshot
    form creation JotForm problem jsform
  • Profile Image
    JotForm Support

    Answered by Welvin on August 03, 2013 at 01:16 AM

    Hi,

    The delay to the other Javascript on your page is probably caused by the script conflict. Please kindly re-embed your form using our iframe method: How to Get Form iFrame Codes

    Also try to clear your browsers cache and cookies. After that, clear your browsers cache as well by following this guide: How to Clear your Form Cache. Our servers are up and running fine. 

    Another step is to add the IP Address shown on your screenshot to your server whitelist.

    Please let us know for the results.

    Thanks

  • Profile Image

    Answered by Oblio on August 03, 2013 at 01:33 AM

    Thanks for the quick reply. 

     

    The delay to the other javascript is not a conflict issue - they are just waiting for document ready...and that takes a while since form.jotform.com is not reahable.  As mentioned, previously the exact same code was fine (no conflicts) - it's only been in the last day that the form request has timed out.

    I have cleared my browser cache and the form cache and I have even tried setting up a page running nothing but the iframe code:

    <!doctype html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    </head>

    <body>
    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotform.co/form/32140347525851" frameborder="0" style="width:100%; height:592px; border:none;" scrolling="no"></iframe>
    <script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

    </body>
    </html>

    But there is still the same problem.  Your servers are not reachable for my account.

    Any other suggestions?

    Thanks

  • Profile Image
    JotForm Support

    Answered by Welvin on August 03, 2013 at 06:53 AM

    Hi,

    Are you able to view the form on its direct URL? http://www.jotform.co/form/32140347525851. How about viewing the form on another browser? 

    Please try this codes:

    <iframe id="JotFormIFrame" allowtransparency="true" src="//form.jotform.co/form/32140347525851" frameborder="0" style="width:100%; height:592px; border:none;" scrolling="no"></iframe>

    Thanks

  • Profile Image

    Answered by Oblio on August 03, 2013 at 07:38 AM

    Yes, I can access the form via the direct URL - but it seems the sub-domain form.jotform.com is not accessible.  Anything on the main URL is fine.  If I use the iframe code you gave me above, I cannot get to the form.  If I change the iframe src to www.jotform.om instead of form.jotform.com, it works.

     

    Thanks

  • Profile Image
    JotForm Support

    Answered by Welvin on August 03, 2013 at 08:42 AM

    Hi,

    The sub-domain is not accessible because that is programmed to work only for form URL's. You should access our web using http://jotform.co domain - which is the preferred server/domain for your location.

    Yes please, try using http://www.jotform.co/form/32140347525851 so the codes should be:

    <iframe id="JotFormIFrame" allowtransparency="true" src="http://www.jotform.co/form/32140347525851" frameborder="0" style="width:100%; height:592px; border:none;" scrolling="no"></iframe>

     

    I hope this works now.

    Thanks

  • Profile Image
    JotForm Support

    Answered by Welvin on August 03, 2013 at 08:47 AM

    I'm sorry. I have updated the codes above.  The codes should use the jotform.co domain.

    <iframe id="JotFormIFrame" allowtransparency="true" src="//www.jotform.co/form/32140347525851" frameborder="0" style="width:100%; height:592px; border:none;" scrolling="no"></iframe>

    Thanks

  • Profile Image

    Answered by Oblio on August 03, 2013 at 08:55 AM

    All seems to be fine now - the iframe version and the straight script version both work with the basic URL.

    Thanks for your help.