Javascript errors on the page where my form is embedded

  • Profile Image
    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. 



    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 (

        at HTMLDocument. (

        at Function.each (

        at init.each (

        at init.trigger (

        at ready (

  • Profile Image
    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:

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