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

    How to make the form length to adjust automatically using iframe?

    Asked by staffordfields on October 06, 2015 at 03:16 PM
    4. Length of form.  I purchased a form for Contacts which has an Envelope which auto appends to whatever length the form requires.  This works SUPER well.  My question is this.... What code for insertioin into iframe makes the form automatically append to the right length?  ON my 'Order Form' , I have to set the length pxl to wayyy high to get a mobile screen to see the bottom of the form.  Especially since I have some auto-expanding fields on it. The Contact form seems to work great... what did they or can you recommend doing to make that seek that end automatically?
  • Profile Image
    JotForm Support

    Answered by Kiran on October 06, 2015 at 04:07 PM

    Generally when the form is embedded using default embed method, the height of the form can be adjusted automatically. However, when we see any conflicts with other scripts on the webpage, it is recommended to use iframe embed method. Did you try embedding the form using default and normal Javascript embed method? When using iframe, the height of the form is adjusted to the max height considering hidden fields. Please try embedding the form using Javascript embed method and see if that helps. If the issue still persists, please get back to us with the URL of the webpage where the form is embedded so that we can take a look and provide you with necessary assistance.