Pop Up on exit?

  • Profile Image
    Teresa
    Asked on May 25, 2012 at 04:40 PM

    We'd like to have a site satisfaction survey pop up upon exiting the site. Is it possible to do that? If so how?

  • Profile Image
    idarktech
    Answered on May 26, 2012 at 07:14 AM

    Hi Teresa,

    Yes that's possible but you have to use your form's full source code since you have to add a pop-up script on your form.

    Here's How to download a source code of your form.

    You may also use this basic pop-up on exit script, if you like.

    <script type="text/javascript">

    window.onunload = unloadPage;

    function unloadPage()

    {

    alert("YOUR MESSAGE HERE");

    }

    </script>

    Hope this helps. Let me know if you need anything else. Thanks!