Which dimensions my form will display when I embed it on my webpage?

  • Profile Image
    kranai
    Asked on March 07, 2016 at 04:46 AM

    When I create my custom made page will this page be displayed within the dimension of the form or will it take the whole screen of the device?

    if it is within the dimension of the form then I need to know how to get the exact dimension of form so that the page I create will be displayed nicely within with all the text viewable.

    Look forward to your reply

  • Profile Image
    Jan
    Answered on March 07, 2016 at 09:44 AM

    The form dimension will be based on the wrapper of the element where you placed the embed script code in. For example, if you have a DIV which is 800px, and then you embed the script code inside the DIV. Then the form's width will be 800px occupying the whole DIV, unless of course you customize it.

    You can use the Iframe method where you can specify exactly the width and height of the Iframe that targets the form.

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://form.jotform.com/1234567891011123" frameborder="0" style="width:100%; height:539px; border:none;" scrolling="no"> </iframe>

    Hope that helps. Let us know if you still have any questions. Thank you.