What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to show auto-pop up form just before exit?

    Asked by izen on September 11, 2013 at 04:01 AM

    I found your auto-pop up option quite interesting, as seen on this link...

    http://www.jotform.com/answers/225091-Auto-Popup-WordPress-Feedback-Button-Plugin

    Is it possible to auto pop up just when they try to close the browser/tab? That will be awesome :)

    I have seen sites which do this - when the mouse moves to the very top of webpage header area, (it's taken as a move to click the exit button on browser) this pop up at that moment would be great to collect a lead or present an offer. Any chance we can do this?

    JotForm www move auto pop
  • Profile Image
    JotForm Support

    Answered by jonathan on September 11, 2013 at 09:43 AM

    Hi,

    You can probably do away with this using javascript code on your html page. 

    You need to catch the onunload event of the browser.

    Please try this page https://shots.jotform.com/jonathan/webtest/pop-up_form_on_browser_close.html

    When you close this page, the there should be a pop-up form.

    Make sure your browsers pop-up blocker allows it,

    Hope this help. Please inform us if it works.

    Thanks.

  • Profile Image

    Answered by izen on September 14, 2013 at 10:36 AM

    Most new browsers block this type of pop-up by default - so sorry, but this doesn't help. Will wait for a better option. Thanks a lot.

  • Profile Image

    Answered by Cesar on September 14, 2013 at 11:49 AM

    Thank you for the input, indeed browsers do block all sorts of pop-up methods. And this is a function is not possible in the JotForm Form Builder. If we do find an alternative to this we will update this thread when possible. 

    Thank you for using JotForm.