• Resolved xavierdinh

    (@xavierdinh)


    I create a Form by Contact Form 7. I want customer give “thank you” pop up when they submit form successfully, but it’s not working.

    I wrote ” .wpcf7, #wpcf7-f17-p45-o1 ” in Trigger Form Submit in Brave Plugin.

    Please Help Me. Thank you so much

    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)

    Xavier,

    We will remove this option soon as its not functional out of the box and needs manual integration for most contact form plugins.

    For your case, We would suggest you to add this custom javascript code in your theme or through a custom JS plugin:

       document.addEventListener( 'wpcf7mailsent', function( event ) {
          brave_open_popup(987);
       }, false );
    

    Let us know if it doesn’t work.

    Thanks

    Thread Starter xavierdinh

    (@xavierdinh)

    Thank you Supporter,
    I got it. But i have a question for you.

    document.addEventListener( ‘wpcf7mailsent’, function( event ) {
    brave_open_popup(987);
    }, false );

    Why do you know popup of brave is (987)?

    Thank you so much!

    Plugin Author Brave

    (@getbrave)

    @xavierdinh We checked your page and found out the id.

    To determine the ID, Open the Popup in the editor and in the address bar you will notice something like this at the end: id=987

    Thanks

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