I am trying to embed a form and within the iframe the body tag is empty. How can I fix this?

  • Profile Image
    Asked on March 03, 2014 at 07:16 PM

    I have tried using all the different embed options. I normally use the iframe. If I copy and paste the source code it shows up but the validation dosent work and the styling is off. 

  • Profile Image
    Answered on March 03, 2014 at 07:39 PM

    I see your webpage's URL has SSL.

    Please try embedding the following iframe code instead:

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://secure.jotformpro.com/form/30725598968978" frameborder="0" style="width:100%; height:1305px; border:none;" scrolling="no"></iframe>

    This is iframe code embeds a secure version of your form. This should allow you to display the form as a secure element.

    Do let us know if you need additional assistance.

  • Profile Image
    Answered on March 04, 2014 at 05:14 PM

    @Cesar Thanks that worked. Just for future reference it looks like the only differnce is using secure in the url instead of form in the iframe's url. Also no need for the <script>?

  • Profile Image
    Answered on March 04, 2014 at 08:08 PM


    Hi, if you find no issue using the "script?" part of the iframe code, I suggest you retain it.

    Usually, the only time the script part is excluded, is when there are other scripts on the web page that could cause script conflict on the form's iframe/script code.

    Example, if the page where you embed the form have jquery script on it, it will usually conflict with the form script code. Using only the iframe code and no other script will make it work.

    Hope this help. Inform us if you have futher inquiry.