Mobile variant

  • sdbcsmith
    Asked on October 12, 2016 at 12:35 PM

    My form on my mobile variant cuts off half way down?????

  • David JotForm Support
    Replied on October 12, 2016 at 2:21 PM

    At the start of your forms iFrame code, there is a height attribute:

    <iframe
          id="JotFormIFrame-62718103377153"
          onDISABLEDload="window.parent.scrollTo(0,0)"
          allowtransparency="true"
          src="https://form.jotform.com/62718103377153"
          frameborder="0"
          style="width:100%;
          height:100%;
          border:none;"
          scrolling="no">
    </iframe>

    Set this to a specific height, rather than 100%.

    <iframe
          id="JotFormIFrame-62718103377153"
          onDISABLEDload="window.parent.scrollTo(0,0)"
          allowtransparency="true"
          src="https://form.jotform.com/62718103377153"
          frameborder="0"
          style="width:100%;
          height:500px;
          border:none;"
          scrolling="no">
    </iframe>

    Adjust the value until the full form shows on both desktop and mobile.