• Resolved wilwiljaco

    (@wilwiljaco)


    I am thoroughly enjoying Brave’s simplicity and easy interface.

    However, I am using a short code form from Forminator and the pop up will not close after the sandbox Paypal transaction is completed. The form is successfully “submitted”, but the pop up remains covering the page (it is using the no close button setting). My website utilizes Elementor.

    Any help would be dearly appreciated.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brave

    (@getbrave)

    Add this Custom PHP function either through Child theme’s functions.php or using a PHP insertion plugin like this one: https://www.ads-software.com/plugins/my-custom-functions/

    add_action('wp_head', 'bravepop_close_forminator');
    function bravepop_close_forminator(){
       echo '<script type="text/javascript">
       jQuery(function($){
          $(document).on( "forminator:form:submit:success", function() {
             brave_close_popup(5343);
          });
       });
       </script>';
    }
    Thread Starter wilwiljaco

    (@wilwiljaco)

    Thank you for such a quick response. Unfortunately the code seems to have not done anything. I tried adding it to the Astra Child theme’s functions and with the PHP plugin.

    Thread Starter wilwiljaco

    (@wilwiljaco)

    Your code now works for some reason. Thank you for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Forminator short code form not disabling pop up’ is closed to new replies.