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

    Change the height of the iFrame

    Asked by DJporter on September 18, 2013 at 07:12 AM

    Can I dynamically shorten the height of an iframe? I have conditional statements that can make my form short or long. I would like to adjust the size of the iframe accordingly.

    Page URL:

  • Profile Image

    Answered by khrisell on September 18, 2013 at 10:10 AM


    You can manually adjust the height of the iframe.

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//support.jotform.com/form/32580474878164" frameborder="0" style="width:100%; height:2689px; border:none;" scrolling="no"></iframe>



    You can adjust it according to your preference.

    Re-embed it to your website/page and manually adjust the value of the height.


    If you need further assistance, please let us know.

    Thank you .:)