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

  • staffordfields
    Asked on October 6, 2015 at 3: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?
  • Kiran Support Team Lead
    Replied on October 6, 2015 at 4: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.

    Thanks!