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

    Script code in Iframe embed code is not working

    Asked by earthdaysf on March 19, 2013 at 04:56 PM


    -several people on this page mention errors they received using the iframe method. JotForm support has not yet replied to these errors.

    -the image in this page is broken.

    -when i use the iframe method, the iframe height is much larger than it needs to be.

    -The script method should be able to scroll up automatically, since it is script.

    This is a re-post of a comment on Getting the Form iFrame Code

  • Profile Image
    JotForm Support

    Answered by ardy0689 on March 19, 2013 at 05:12 PM


    Upon checking the IFRAME embed method I have failed to recreate your problem. It works fine on my own local webpage. The container has 465px in width and centered. The IFRAME just spans the width of the container. The script updates the height properly as you can see from the screenshot.

    May I ask the webpage url where your form is embedded thanks.


  • Profile Image

    Answered by earthdaysf on March 21, 2013 at 10:47 PM



  • Profile Image
    JotForm Support

    Answered by jonathan on March 22, 2013 at 01:10 AM

    @ earthdaysf

    Hi, can you please try excluding the script part of the iframe code when you do a re-embed?

    It is also possible that the 2nd part of the iframe code, which is the <script part is conflicting with the other scripts present in your web page. This is the reason for my suggestion.

    Please try it and let us check.


  • Profile Image

    Answered by earthdaysf on April 04, 2013 at 08:53 PM

    what's a "re-embed"?


  • Profile Image

    Answered by jeanettebmz on April 04, 2013 at 11:55 PM

    That means that you need to go to Setup and embed, grab a new code ,  remove the current script embedded in your page and replace it with this one

    Make sure you embed the code that is between <iFrame> </iFrame> tags  , while you exclude the line of codes below, between <script></script> tags