Why won't my calculator work in form embed in my WordPress site?

  • Profile Image
    docstoc
    Asked on June 12, 2015 at 01:17 PM

    I've created an HTML page for testing purposes, and it looks fine when published, but when I put the code into WordPress and preview it, the calculator either doesn't show up or is just a green bar. See screenshots below. 

    HTML Preview: 

    WordPress:

     

  • Profile Image
    BDAVID
    Answered on June 12, 2015 at 02:26 PM

    Can you share with us the direct link of the page where your jotform is embedded? Meanwhile, I would recommend you to embed your form using the iFrame code: http://www.jotform.com/help/148-Getting-the-Form-iFrame-Code

    Once you get the iFrame code, before embedding it in your site, paste it in an text editor like the WordPad:

    Copy the iFrame part only and embed it in your site. Let us know what happens, we will be glad to assist you.

     

  • Profile Image
    docstoc
    Answered on June 15, 2015 at 07:46 PM

    Thanks for the help, BDAVID. Unfortunately, it's a corporate site with private previews, so I'm unable to give access to third parties. 

    I tried your method and only embedded the iFrame code, but this leaves the page blank. When I highlight the area, it looks like something is embedded, but no content shows. See screenshot for visual: 

    Thanks again for the help.

  • Profile Image
    ashwin_d
    Answered on June 16, 2015 at 12:28 AM

    Hello docstoc,

    Please be noted that you can also adjust the height of the iFrame by changing the height attribute of the iFrame embed code. 

    Please use the following iFrame embed code and see if that solves your problem:

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

    Do get back to us if the issue persists.

    Thank you!