• Hello. I’m using CF7 in popup.
    Initialising form with script.

    modalContentWrapperEl.querySelectorAll('.wpcf7-form').forEach((form) => {
    if (!form) {
    return;
    }
    wpcf7.init(form);
    wpcf7cf.initForm(jQuery('.wpcf7-form'));

    But ajax validation for fields not working. For example I wrote wrong email. removed focus from field and get no validation message. It appears only when I click Send button.

    Also It works if form placed not in popup window. https://prnt.sc/35RFZWVgHdDx

    It works previously but stop after update

    Why?

Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘AJAX validation not working in popup window.’ is closed to new replies.