Title: TypeError: message.result is undefined
Last modified: August 31, 2016

---

# TypeError: message.result is undefined

 *  Resolved [kmaqbool](https://wordpress.org/support/users/kmaqbool/)
 * (@kmaqbool)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/typeerror-messageresult-is-undefined/)
 * Running a fresh install of Version 14.11.4 upgraded from 14.6. When a form is
   submitted, I receive an email, but the submitter does not see any success message.
   Instead it just sits there. Viewing the console shows
 * TypeError: message.result is undefined in Firefox and
 * Uncaught TypeError: Cannot read property ‘match’ of undefined
    cforms_setsuccessmessage
   @ cforms.js?ver=14.11.4:197 (anonymous function) @ cforms.js?ver=14.11.4:189 
   success @ jquery.min.js:29 onreadystatechange @ jquery.min.js:28
 * in chrome
 * [https://wordpress.org/plugins/cforms2/](https://wordpress.org/plugins/cforms2/)

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

 *  Thread Starter [kmaqbool](https://wordpress.org/support/users/kmaqbool/)
 * (@kmaqbool)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/typeerror-messageresult-is-undefined/#post-7159404)
 * And if I disable AJAX then it starts working
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/typeerror-messageresult-is-undefined/#post-7159536)
 * Can you set a breakpoint on cforms.js line 197 ( `if (!message.result.match(/
   success/)) {` ) and post the content of variable message here?

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

The topic ‘TypeError: message.result is undefined’ is closed to new replies.

 * ![](https://ps.w.org/cforms2/assets/icon-128x128.png?rev=1010031)
 * [cformsII](https://wordpress.org/plugins/cforms2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cforms2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cforms2/)
 * [Active Topics](https://wordpress.org/support/plugin/cforms2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cforms2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cforms2/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bgermann](https://wordpress.org/support/users/bgermann/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/typeerror-messageresult-is-undefined/#post-7159536)
 * Status: resolved