Javascript errors on the page where my form is embedded

  • Profile Image
    ralfredo
    Asked on March 27, 2017 at 11:28 AM

    Hi there. If you go to the following page where I have the form embedded, you can see in the console that there is a javascript error. 

     

    https://www.svsound.com/pages/test-1

     

    Can you let me know what the problem is?

     

    Uncaught TypeError: element.dispatchEvent is not a function

        at fire (prototype.forms.js:591)

        at HTMLDocument._methodized [as fire] (prototype.forms.js:60)

        at HTMLDocument.fireContentLoadedEvent (prototype.forms.js:595)

     

     

    Uncaught TypeError: element.attachEvent is not a function

        at observe (prototype.forms.js:575)

        at HTMLDocument._methodized [as observe] (prototype.forms.js:60)

        at HTMLDocument.ready (jotform.forms.js:29)

        at Object.trigger (www.livehelpnow.net/lhn/js/internal/lhn-jquery-1.7.1.min.js:3)

        at HTMLDocument. (www.livehelpnow.net/lhn/js/internal/lhn-jquery-1.7.1.min.js:3)

        at Function.each (www.livehelpnow.net/lhn/js/internal/lhn-jquery-1.7.1.min.js:2)

        at init.each (www.livehelpnow.net/lhn/js/internal/lhn-jquery-1.7.1.min.js:2)

        at init.trigger (www.livehelpnow.net/lhn/js/internal/lhn-jquery-1.7.1.min.js:3)

        at ready (www.livehelpnow.net/lhn/js/internal/lhn-jquery-1.7.1.min.js:2)

  • Profile Image
    AIDAN
    Answered on March 27, 2017 at 01:36 PM

    Hi, thank you for contacting us.

    I have examined the webpage you kindly provided, where your form is embedded, and I would recommend re-embedding the form using the iFrame method.

    We have a guide on how to get your form's iFrame embed code here: https://www.jotform.com/help/148-Getting-the-form-iFrame-code

    I hope this helps. If you need further assistance please let us know. Thank you.