• Resolved manoj317

    (@manoj317)


    I am experiencing an issue with the Forminator plugin when used with Popup Maker. I want the popup to close automatically after a successful Forminator form submission. How can I resolve this? Any help would be appreciated.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Kim L

    (@kimmyx)

    Hi @manoj317,

    Thanks for posting!

    The close on form submission feature only works on form plugins that integrate with Popup Maker.

    You can see the list here: Popup Maker Integration With WordPress Form Builder Plugins – Popup Maker

    We hope that helps! Let us know if you have more questions.

    Thread Starter manoj317

    (@manoj317)

    Thank for your Suggestion!

    i tried below jQuery code its works for me

    jQuery(document).ready(function ($) {
    $(document).on('pumAfterOpen', function () {
    let checkSuccess = setInterval(function () {
    if ($('.forminator-success').is(':visible')) {
    clearInterval(checkSuccess); // Stop checking
    setTimeout(function () {
    PUM.close(2222); // Close popup
    }, 2000); // Delay closing by 2 seconds
    }
    }, 500); // Check every 500ms

    // Clear interval when popup closes to avoid multiple checks
    $(document).on('pumBeforeClose', function () {
    clearInterval(checkSuccess);
    });
    });
    });
    Plugin Support Kim L

    (@kimmyx)

    Hi @manoj317,

    Thanks so much for posting your solution!

    We’re glad you found one that works for you. ??

    I’ll close this thread now. Feel free to make a new one if you have new questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.