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

  • Profile Image
    kerryaku
    Asked on December 15, 2016 at 03:19 PM
  • Profile Image
    Kevin_G
    Answered 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.