Uncaught TypeError Issue

  • Profile Image
    zachlmoss
    Asked on April 26, 2017 at 03: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.

  • Profile Image
    Kevin_G
    Answered on April 26, 2017 at 05:25 PM

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

    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"

            onload="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. 

  • Profile Image
    zachlmoss
    Answered on April 26, 2017 at 05: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