• Resolved philiprabbett

    (@philiprabbett)


    Line 126 of the admin.js file is throwing an error on submission, not noticeable straight away as it only happens on click of the submit button and the email field is blank.

    if (emails[i].trim() !== '' && !emailRegEx.test( emailsCC[i].trim() ) ) { // If email address included it must be valid

    Uncaught TypeError: Cannot read property ‘0’ of undefined
    at HTMLInputElement.<anonymous> (admin.js:126)
    at HTMLInputElement.dispatch (jquery.js:3)
    at HTMLInputElement.r.handle (jquery.js:3)

Viewing 1 replies (of 1 total)
  • Plugin Author SpeakOut!

    (@123host)

    Aha. It took a little while to recreate this, it is a fleeting error plus the form content had to be just right ??

    Version 1.12.2 solves this problem. Let’s see if you find another ??

    Thanks again

    • This reply was modified 6 years, 8 months ago by SpeakOut!.
Viewing 1 replies (of 1 total)
  • The topic ‘JS error on submission’ is closed to new replies.