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

    Is there a way to prevent the iframe from automatically adjusting the height of an embedded form?

    Asked by sarahahmad67866 on June 11, 2017 at 10:00 AM

    When I click on continue the form height expands accor to form elements, and contacts. is there a way that form height is kept static and the form not expands and contracts. this link can help you understand what I mean.


  • Profile Image
    JotForm Support

    Answered by Jim_R on June 11, 2017 at 10:28 AM

    I'm afraid this will not be a good practice for the sole reason that the contents of your form are not fixed on each page. If you happen to have a page longer than others, the contents will be cutoff at the bottom if the iframe height was static.

    That's why we had a <script> part included on the iframe embed codes to take care of automatically adjusting the height of the iframe based on the form content.

    Still, if you want to suppress this intended behavior, try removing the <script> part of the iframe embed codes and set a fixed height for your iframe.