How do I specify the form width to embed on my website?

  • kerryaku
    Asked on December 15, 2016 at 3:19 PM
  • Kevin Support Team Lead
    Replied on December 15, 2016 at 5: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"

          onDISABLEDload="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:

    How do I specify the form width to embed on my website? Image 1 Screenshot 30 

    How do I specify the form width to embed on my website? Image 2 Screenshot 41

    Hope this helps.