• 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 years, 3 months ago by salman1775.
    • This topic was modified 7 years, 3 months ago by salman1775.
    • This topic was modified 7 years, 3 months ago by salman1775.
    • This topic was modified 7 years, 3 months ago by salman1775.
  • The topic ‘after the sent_mail_ok message in contact form 7 popup close the popup window’ is closed to new replies.