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.
You can create an exit popup on webform by embedding the form using FORM SOURCE code.
In the embed for source code, look for the submit button and add the function below
e.g <button id="input_2" type="submit" class="form-submit-button" onclick = "FormPopUp()">
then in your web page header, add the script below
wherein preview.html is the page that would show in the popup.
If you need further assistance, please contact us again.
I am trying to do the exact same thing as the originator of this question. So when you click send message instead of directing the sender to another page I would just like a popup thank you message and close.
I tried implementing the code that jefreylandicho above answered, but it doesn't seem to work for me.
You can get a similar pop-up code from the following Stackoverflow thread:
Note, this method will not close your form, but you will see your custom page on the pop up.
Alternatively, you can try something from the following JotForm thread:
If you need any further assistance on this, please create a separate thread. Thank you.