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 do I specify the form width to embed on my website?

    Asked by kerryaku on December 15, 2016 at 03:19 PM
  • Profile Image
    JotForm Support

    Answered by Kevin_G on December 15, 2016 at 05:57 PM

    If you use the iFrame embed method then it takes automatically the 100% as width, and the width will be also affected by the element where the form is being embedded on.

    Here's  a sample of iFrame code

        <iframe

          id="JotFormIFrame"

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

          allowtransparency="true"

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

          frameborder="0"

          style="width:100%;

          height:2190px;

          border:none;"

          scrolling="no">

        </iframe>

    The same happens when the form is embedded with the default method, it uses the 100% of the space where it is being embedded. 

    What I would suggest you is to check the element where you're embedding your form, increase its width so the form's width increases too. 

    Now, if you need to increase the form's width even when it displays on the entire screen, then you can do it by going to the designer section, styles tab and increasing the form width there:

     

    Hope this helps.