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

    Height of form with hidden boxes

    Asked by nkrei on July 15, 2015 at 03:18 PM


    I have a bunch of hidden boxes on my form. They appear depending on how the user responds to the questions in the form.

    Now, when I download the form it looks like there is a lot of "extra" background below the form. I guess this is because the form size is set so that when all boxes are shown there is room for them. So how do I "shrink wrap" the height of the form to expand with the show/hidden boxes?

    Thank you.

  • Profile Image
    JotForm Support

    Answered by jonathan on July 15, 2015 at 05:19 PM

    The form must be embedded on a website. Can you share to us also the URL of your website where you have embedded the form?

    We will be able to provide a more appropriate suggestion if we can check and test the actual embedded form.

    As an initial suggestion also, you may want to embed the form using its Iframe embed code.

    user guide: -Getting-the-Form-iFrame-Code




  • Profile Image

    Answered by nkrei on July 15, 2015 at 05:33 PM

    Thanks for responding, I have the form as an iframe here:


    Scrolling to the bottom reveals a lot of extra space (again: probably due to hidden boxes which expand as the user answers).

  • Profile Image
    JotForm Support

    Answered by jonathan on July 15, 2015 at 10:05 PM

    Thank you for providing the details.

    I can see what you meant on huge space at the bottom

    Obviously, the iframe embed was already allotting height space for the hidden fields. 

    But have you tried instead already using the default embed script code? 

    I think it will be alright to use the default embed as there were no other script it would conflict about in the web page.

    Can you please try also. Let us see how it goes