Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 210725

after the sent_mail_ok message in contact form 7 popup close the popup window

$
0
0

Replies: 0

Hello,
I have created a popup form with contact form 7. Everything is fine.

screenshot

But when I successful message shows, I want to close the popup after the successful message.
I have tried everything like:

In additional setting:

sent_mail_ok:”document.getElementById(‘popupform’).style.display=”none”;”

The problem with this code is that it close the popup before showing the success.

But I want that popup close after 2 second of success message.

Please anyone help me.

  • This topic was modified 7 minutes ago by  salman1775.
  • This topic was modified 6 minutes ago by  salman1775.
  • This topic was modified 5 minutes ago by  salman1775.
  • This topic was modified 3 minutes ago by  salman1775.

Viewing all articles
Browse latest Browse all 210725

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>