Embedded form shows in Safari but does not show in Chrome

  • michaelpan
    Asked on June 15, 2016 at 4:09 PM

    Hello @idarktech

     

     - I am having this issue too. We have added the IFrame. Here is the link. It works with explorer, etc. but not with Chrome. Can you review and let us know what is going on? How can we fix for Chrome?

     

    We have tried the following: 

    - taking out excess script from iframe

    - used iframe 

    - used custom code 

    - making height of form the form of the page

    - etc. but none have completely fixed the issue. 

     

    http://anchoraudio.com/dealer-application.html

     

     

    Windows 7 64 bit, Chrome Version 51.0.2704.84 m, 1920x1080 monitor resolution

     

    Thanks!

  • David JotForm Support
    Replied on June 15, 2016 at 4:16 PM

    Try setting the height of the iFrame in the embed code.  Update the beginning of your embed code to:

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

    It looks like the form is loading but the height is automatically being set to 0 by the resize script.

  • michaelpan
    Replied on June 15, 2016 at 4:45 PM
    I think your looking at the wrong form, it’s the blue dealer application form, not the newsletter one field form at the bottom of the page. Here’s a screen shot of the problem.
    [cid:CEC883DC-49C6-437C-AA7B-D436FEF40880@anchoraudio.local]
    also this form had the same problem before and I got the fix from this very forum. Here is the code snippet.

    ...
  • David JotForm Support
    Replied on June 15, 2016 at 6:38 PM

    I believe my colleague offered another solution in your other thread:

    https://www.jotform.com/answers/861703-Form-not-showing-in-Chrome#1

    If you are still having trouble with your form, please follow up in that thread and we will be happy to have another look.

  • michaelpan
    Replied on June 16, 2016 at 3:45 PM
    I got it to work! Used min-height attribute in iframe as someone else suggested! Thanks for your suggestions and help. Much appreciated!
    Michael
    ...