• Resolved BestRanger

    (@bestranger)


    Hello, your documentation mentions that the plugin is compatible with major form plugins, including Contact Form 7. However, I have noticed that there seems to be a compatibility issue. Specifically, when a form is submitted through Contact Form 7, the form is automatically closed, preventing the user from viewing any error messages or form responses.

    This behavior is problematic because users are not able to correct their entries or understand why the form submission may not have been successful.

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter BestRanger

    (@bestranger)

    $popup.on('wpcf7mailsent', function () {
            $popup.trigger('wppopups.form_submitted', [popup_id]);
            WPPopups.hidePopup($popup, true, 2000);
          });

    in /src/assets/js/wppopups.js generates close after wpcf7mailsent

    I don’t understand where the issue might be on my website if the wpcf7mailsent status doesn’t go through.

    I got same problem when I switched to WPForms

    • This reply was modified 1 year, 3 months ago by BestRanger.
    Plugin Author Damian

    (@timersys)

    Hi @bestranger that shouldn’t be the case. It should always show messages instead of closing the form. Could you share the url where I can see the issue?

    Thread Starter BestRanger

    (@bestranger)

    Thread Starter BestRanger

    (@bestranger)

    In event listeners I have https://i.imgur.com/VWr3Z8A.png 2x submit. One from CF7 which works great. Second is from wppopups.js.

    When I delete this listener it works. So I added into functions.php this code

    
    function dequeue_my_script() {
       wp_dequeue_script( 'wp-popups-lite' );
    }
    add_action( 'wp_print_scripts', 'dequeue_my_script', 100 );

    But it not works.

    • This reply was modified 1 year, 3 months ago by BestRanger.
    • This reply was modified 1 year, 3 months ago by BestRanger.
    Plugin Author Damian

    (@timersys)

    Could you please disable minification and contanetation of javascript so I can do some tests?

    Thread Starter BestRanger

    (@bestranger)

    I think, that problem could be by WP Fastest Cache by @emrevona

    I will try to disable javascript minify.

    I disabled javascript minify by WP Fastest Cache and problem is still same. So problem is not in minify, but in priority probably.

    • This reply was modified 1 year, 3 months ago by BestRanger.
    • This reply was modified 1 year, 3 months ago by BestRanger.
    • This reply was modified 1 year, 3 months ago by BestRanger.

    can you disable all the checkboxes except the “Cache System” option and clear all cache please?

    Thread Starter BestRanger

    (@bestranger)

    Not yet, only minify options. Now I fully deactivated all cache. @timersys

    And problem is still there. So it has nothing to do with WP Fastest Cache @emrevona

    ok. thank you for information.

    • This reply was modified 1 year, 3 months ago by Emre Vona.
    Plugin Author Damian

    (@timersys)

    I found the issue. The popup detects the action form url as external so it closes thinking the form is sending you to another page. I will work on a fix

    Thread Starter BestRanger

    (@bestranger)

    @timersys Thank you very much.

    Thread Starter BestRanger

    (@bestranger)

    @timersys What does the solution look like? Can you please guide me so that I can fix it temporarily, or has it already been fixed in the next version?

    Thank you forward.

    Plugin Author Damian

    (@timersys)

    Sorry for the delay, We published an update yesterday

    Thread Starter BestRanger

    (@bestranger)

    Hi @timersys, I updated plugin to newest version but problem is still same.

    Plugin Author Damian

    (@timersys)

    Could you please deactivate the minification so I can check whats going on?

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Contact Form 7 Compatibility Issue’ is closed to new replies.