Uncaught TypeError Issue

  • zachlmoss
    Asked on April 26, 2017 at 3:34 PM

    Hi, 


    Looking at console my embed is constantly throwing the following error over and over again:

     

    Uncaught TypeError: e.data.split is not a function

        at window.handleIFrameMessage (63556161887164:25)

     

    Removing the jotform clears the error so I know its being caused from Jotform. 

     

    I have tested using embed method and the iFrame method with the same issues.

    Jotform Thread 1129534 Screenshot
  • Kevin Support Team Lead
    Replied on April 26, 2017 at 5:25 PM

    I have checked your webpage and I was unable to find such errors in the web console. 

    Uncaught TypeError Issue Image 1 Screenshot 20

    However, that may be due to a conflict between the form and webpage codes, I would suggest you to try embedding your form using the iFrame code and removing all the JavaScript part, so the code should be like this one: 

        <iframe

            id="JotFormIFrame"

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

            allowtransparency="true"

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

            frameborder="0"

            style="width:100%;

            height:4680px;

            border:none;"

            scrolling="yes">

          </iframe>

    Please, do let us know how it goes. 

  • zachlmoss
    Replied on April 26, 2017 at 5:57 PM

    Weird, just tried on a guest browser and no error. Must be something to do with an extension i have installed on my chrome.

     

    All good. Thanks for the quick response.

     

    Cheers,

    Zach