Still cannot reduce the height - is there a different icode to insert s

  • rghspace
    Asked on May 15, 2018 at 6:49 AM

    Still cannot reduce the height - is there a different icode to insert somewhere? I am completely puzzled.

    Robin

  • Kevin Support Team Lead
    Replied on May 15, 2018 at 9:13 AM

    You may be using the default JavaScript part included in the iFrame code, note that this will overwrite the iFrame height settings. 

    In order to set a fixed height to the iFrame you need to remove the JavaScript part and embed the iFrame code only, example: 

         <iframe

           id="JotFormIFrame"

           onDISABLEDload="window.parent.scrollTo(0,0)"

           allowtransparency="true"

           src="https://form.jotform.com/23456789"

           frameborder="0"

           style="width:100%;

           height: 8815px;

           border:none;"

           scrolling="yes">

         </iframe>


    You may also provide us the page where you've embedded your form so we can inspect it. 

    Thanks. 

  • rghspace
    Replied on May 15, 2018 at 12:43 PM
    I still have no idea how to do it - But I'll manage with what I've got.
    Robin
    ...
  • Richie JotForm Support
    Replied on May 15, 2018 at 1:53 PM

    Can we have your webpage URL where you have embedded your form so that we can check it out? You could try the Iframe code my colleague has given.

    <iframe id="JotFormIFrame-81341666837969" onDISABLEDload="window.parent.scrollTo(0,0)" allowtransparency="true" allowfullscreen="true" allow="geolocation; microphone; camera" src="https://form.jotform.com/81341666837969" frameborder="0" style="width: 1px; min-width: 100%; height:1369px; border:none;" scrolling="no" > </iframe>

    You could also edit the height to fit your requirement.

    Please give it a try and let us know how it goes.

    Thank you.