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

  • docstoc
    Asked on June 12, 2015 at 1: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: 

    Why wont my calculator work in form embed in my WordPress site? Image 1 Screenshot 30

    WordPress:

    Why wont my calculator work in form embed in my WordPress site? Image 2 Screenshot 41

     

  • David JotForm Support Manager
    Replied on June 12, 2015 at 2: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:

    Why wont my calculator work in form embed in my WordPress site? Image 1 Screenshot 20

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

     

  • docstoc
    Replied on June 15, 2015 at 7: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: 

    Why wont my calculator work in form embed in my WordPress site? Image 1 Screenshot 20

    Thanks again for the help.

  • Ashwin JotForm Support
    Replied 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" onDISABLEDload="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!