Mylene Posted March 1, 2017 Report Share Posted March 1, 2017 Hi, I would like to know if it's possible to open an URL after form submission in a new tab. I tried different settings. but none of them redirect me to a new tab. Thanks Quote Link to comment Share on other sites More sharing options...
Mathilda Posted March 1, 2017 Report Share Posted March 1, 2017 1 minute ago, Mylene said: Hi, I would like to know if it's possible to open an URL after form submission in a new tab. I tried different settings. but none of them redirect me to a new tab. Thanks Hi Mylene, There are a few options: 1. You can select the "Display a message" option after form submission and paste the following script in the place for message: <script> window.open("Your_URL"); </script> Insert your URL instead of Your_URL 2. Another option is redirect to another URL when you hit the Submit button on the form. In this case, you need to insert the following code in the footer of the datapage: <script> document.getElementById("caspioform").onsubmit=function() { window.open("Your_URL"); } </script> Quote Link to comment Share on other sites More sharing options...
Mylene Posted May 1, 2017 Author Report Share Posted May 1, 2017 Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.