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

    My form does not display properly on mobile when embedded on my site

    Asked by FreeMover on May 22, 2015 at 09:28 PM
    The second question is, how do i get the form mobile. I mean, when i lookup my site on my mobile device, i just see the half of my form page. Can you tell me how i can fix this
  • Profile Image
    JotForm Support

    Answered by EltonCris on May 22, 2015 at 09:39 PM

    The form responds properly on mobile as of checking. However, the container where the form is embedded prevents the from displaying its entirety due to some styles applied to it. This is why the bottom part of the form gets cut.

    I am referring to these styles, which can be found in your style.responsive.css style-sheet.

    .responsive .art-responsive-embed {

      position: relative;

      padding-bottom: 56.25%;

      height: 0;

    }

    And this one which affects the form height:

    .responsive .art-responsive-embed iframe, .responsive .art-responsive-embed object, .responsive .art-responsive-embed embed {

      position: absolute;

      top: 0;

      left: 0;

      width: 100%;

      height: 100%;

    }

     

    To fix it, re-embed your form using this codes.

    <style>.responsive .art-responsive-embed {

      padding-bottom: 10% !important;

      height: 100% !important;

    }</style>

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://secure.jotformeu.com/form/51366847864368?wmode=transparent" frameborder="0" style="width: 100%;height: 1786px;border: none;position: initial !important;" scrolling="no"></iframe>

    Hope this helps. Thanks!