Multiple forms on same page

  • Profile Image
    peterallen
    Asked on January 22, 2013 at 07:04 AM

    I have two forms made with your builder, both embeded using the source code option on one page of our website, for some reason one of the forms does not show, I have tried using the iframe embed option on the form which isn't displayed and it does fix the issue however, I need the source code so that I can make changes you can't do on the jotform builder. 

    Is there a workaround for this so that I can display both forms on the page with no problems?

  • Profile Image
    jonathan
    Answered on January 22, 2013 at 08:55 AM

    Hi,

    You can achieve this by using iframe to wrap the each form. Since you are using the form's source code, you may want to create a separate page first for each form, then call the page in the iframe.

    Usually, the iframe code is like this (using the iframe code embed of JotForm as sample)

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//www.yourdomain.com/your-page.html" frameborder="0" style="width:100%; height:11313px; border:none;" scrolling="no"></iframe>

    --------

    The src should the page created for the form that uses the source code. So, if you have 2 forms, you create 2 iframe and put the source page on the src.

    I created a sample here using some of your form's source code. Try viewing the page source and you will see the iframe code I used.
    Hope this help. Please inform us if you have further inquiry.
    Thanks.