• Resolved kmaqbool

    (@kmaqbool)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kmaqbool

    (@kmaqbool)

    And if I disable AJAX then it starts working

    Plugin Author bgermann

    (@bgermann)

    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.