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 to change the width and margins of the embedded iframe

    Asked by SunbridgeInstitute on December 18, 2015 at 10:15 AM

    My embedded iframe is not landing on my primary form in the way I would like.

    The form I am embedding INTO is this: http://www.jotform.com//?formID=53434184222954
    (the olive green section just under "For Administrators" at the top)

    You can see here that the embedded portion is rather narrow, allowing room for a label on the left, but I don't want to have a label there; I would rather have a wider embedding frame, so that users don't have to scroll down so much.

    Of course I want the embedding frame to follow the same margins as the other aspects of my form.

    Can you help me?

    Page URL:
    http://www.jotform.com//?formID=53495049794975

    how to change change the width
  • Profile Image
    JotForm Support

    Answered by Boris on December 18, 2015 at 12:03 PM

    If I understand you correctly, your form 53434184222954 (Summer Series 2016) will have another form embedded into it, and this other form is embedded through the Iframe Embed widget,

    Please try disabling the label of the widget on your main form, and see if that resolves the issue you are experiencing. You can disable the label by clicking on the gear-shaped icon of the widget, selecting Edit Properties, and under Label set it to Disable.

    Please refer to the image below for visual guidance:

    Additionally to disabling the label of the widget, if you want the embedded iFrame to always take the full available width of the main form, you can also try injecting the following custom CSS into your main form:

    #cid_176, #customFieldFrame_176 { width: 100% !important; }

    You can inject the above CSS code by opening your form in the Designer:

    In the Designer, please change to the CSS tab, and paste the code at the bottom of the textbox:

    Please let us know how it goes, or if you need any further clarifications or assistance regarding this, and we will be most happy to help. :)