Title: Uncaught TypeError when submitting
Last modified: September 15, 2017

---

# Uncaught TypeError when submitting

 *  [claricepacecreative](https://wordpress.org/support/users/claricepacecreative/)
 * (@claricepacecreative)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/uncaught-typeerror-when-submitting/)
 * When I try submitting the form, I get the following error:
 *     ```
       Uncaught TypeError: Cannot read property 'dispatchEvent' of undefined
           at Object.wpcf7.triggerEvent (scripts.js:352)
           at ajaxSuccess (scripts.js:270)
           at Object.<anonymous> (scripts.js:335)
           at i (jquery.js:2)
           at Object.fireWith [as resolveWith] (jquery.js:2)
           at y (jquery.js:4)
           at XMLHttpRequest.c (jquery.js:4)
       ```
   
 * I’d appreciate any input on what the issue might be.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-typeerror-when-submitting%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [claricepacecreative](https://wordpress.org/support/users/claricepacecreative/)
 * (@claricepacecreative)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/uncaught-typeerror-when-submitting/#post-9500658)
 * Just to clarify, it seems like the form is sending emails, but no notification
   is displayed after submitting so it’s unclear what has happened to the user.
 *  [jspcat](https://wordpress.org/support/users/jspcat/)
 * (@jspcat)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/uncaught-typeerror-when-submitting/#post-9695211)
 * Hi
 * I have this problem. Did you solve it?
 *  [bynicolas](https://wordpress.org/support/users/bynicolas/)
 * (@bynicolas)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/uncaught-typeerror-when-submitting/#post-9749826)
 * Same here, still trying to figure this out
 * related to: [https://wordpress.org/support/topic/received-email-but-no-notification-showed/](https://wordpress.org/support/topic/received-email-but-no-notification-showed/)
 * **EDIT**
 * Found a fix. The CF7 customizer was the issue for me. disabled it and the issue
   went away.
 * This post helped me: [https://stackoverflow.com/questions/47093598/wordpress-contact-form-7-stuck-sending-contact-form](https://stackoverflow.com/questions/47093598/wordpress-contact-form-7-stuck-sending-contact-form)
    -  This reply was modified 8 years, 6 months ago by [bynicolas](https://wordpress.org/support/users/bynicolas/).
    -  This reply was modified 8 years, 6 months ago by [bynicolas](https://wordpress.org/support/users/bynicolas/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Uncaught TypeError when submitting’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [bynicolas](https://wordpress.org/support/users/bynicolas/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/uncaught-typeerror-when-submitting/#post-9749826)
 * Status: not resolved