What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Javascript errors on the page where my form is embedded

    Asked by ralfredo 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 (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)

    Page URL:

  • Profile Image
    JotForm Support

    Answered by AIDAN 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.