Runtime Error when embedding form as an iframe

  • datasciencedojo
    Asked on January 11, 2017 at 1:12 PM

    Hi,

     

    I am getting the following error in my browser console if I try to embed a form on my webpage using iframe.

    Unable to load Sequence: args is not defined

     

    After some debugging, I found the source of the problem in the code that is generated by Jotforms. (see attached image)

    Can you fix this as soon as possible? Since this is throwing run time errors in our application.

     

    Thanks,

     

    Jotform Thread 1031914 Screenshot
  • Kevin Support Team Lead
    Replied on January 11, 2017 at 5:11 PM

    May we get the form name that you're trying to embed and getting this error? 

    With the form ID we will be able to get an updated iFrame code so we can check why the problem happens and provide it to our developers. 

    In the meantime you could embed your form without the JavaScript code, that code works to automatically set the form's height; however, you could also set a fixed height and get rid of that conflict. 

    This is a sample iFrame code without the JavaScript code: 

        <iframe

          id="JotFormIFrame"

          onDISABLEDload="window.parent.scrollTo(0,0)"

          allowtransparency="true"

          src="https://form.jotform.com/FormID"

          frameborder="0"

          style="width:100%;

          height:2190px;

          border:none;"

          scrolling="no">

        </iframe>