Script code in Iframe embed code is not working

  • Profile Image
    earthdaysf
    Asked on March 19, 2013 at 04:56 PM

    problems:

    -several people on this page mention errors they received using the iframe method. JotForm support has not yet replied to these errors.

    -the image in this page is broken.

    -when i use the iframe method, the iframe height is much larger than it needs to be.

    -The script method should be able to scroll up automatically, since it is script.



    This is a re-post of a comment on Getting the Form iFrame Code

  • Profile Image
    ardy0689
    Answered on March 19, 2013 at 05:12 PM

    Hello,

    Upon checking the IFRAME embed method I have failed to recreate your problem. It works fine on my own local webpage. The container has 465px in width and centered. The IFRAME just spans the width of the container. The script updates the height properly as you can see from the screenshot.

    May I ask the webpage url where your form is embedded thanks.

     

  • Profile Image
    earthdaysf
    Answered on March 21, 2013 at 10:47 PM

    http://earthdaysf.org/form.html

     

  • Profile Image
    jonathan
    Answered on March 22, 2013 at 01:10 AM

    @ earthdaysf

    Hi, can you please try excluding the script part of the iframe code when you do a re-embed?

    It is also possible that the 2nd part of the iframe code, which is the <script part is conflicting with the other scripts present in your web page. This is the reason for my suggestion.

    Please try it and let us check.

    Thanks.

  • Profile Image
    earthdaysf
    Answered on April 04, 2013 at 08:53 PM

    what's a "re-embed"?

    thx

  • Profile Image
    jeanettebmz
    Answered on April 04, 2013 at 11:55 PM

    That means that you need to go to Setup and embed, grab a new code ,  remove the current script embedded in your page and replace it with this one

    Make sure you embed the code that is between <iFrame> </iFrame> tags  , while you exclude the line of codes below, between <script></script> tags