• Resolved cmagdziarek

    (@cmagdziarek)


    Hello,

    I noticed that the “invalid email” error message is not displayed when a user enters an incorrect email address. After investigating, I believe there is a small mistake in the frontend-dev.js file in the email validation check.

    Here is the relevant snippet:

    if (!instock_notifier.is_email(email_id)) {
    jQuery(this).closest('.cwginstock-subscribe-form').find('.cwgstock_output').fadeIn();
    jQuery(this).closest('.cwginstock-subscribe_form').find('.cwgstock_output').html("<div class='cwginstockerror' style='color:red;'>" + cwginstock_invalidemail + "</div>");
    return false;
    }

    On line 212, it uses cwginstock-subscribe_form instead of cwginstock-subscribe-form.
    This seems to prevent the error message from showing correctly.

    Could you please confirm this?

    Thank you for your help

Viewing 1 replies (of 1 total)
  • Plugin Author ProPluginsLab

    (@propluginslab)

    Hello there,

    Good Day!

    Thanks for reporting a bug and fix.

    Your reported issue has been addressed in v6.0.9.2.

    Please update it and check it out.

    Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Invalid email error message not showing’ is closed to new replies.