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

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

    Asked by malbertbayard 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. 

    Page URL:

  • Profile Image

    Answered by Cesar 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 by malbertbayard 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
    JotForm Support

    Answered by jonathan 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.