Jump to content
  • 0
Holger

Destination after record submit - Go to new page

Question

After the user updated the Submit Form, I simply want to redirect to a new page and at the same time close the existing window.  I updated the URL in Destination Option "Destination after record submit - Go to new page". After I submit the page, the new page loads, but only appears in the size as the original submission form. I just want to see the redirected page in full view mode after the user submitted the form. Appreciate the communities help.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
On 12/12/2017 at 9:42 AM, Holger said:

After the user updated the Submit Form, I simply want to redirect to a new page and at the same time close the existing window.  I updated the URL in Destination Option "Destination after record submit - Go to new page". After I submit the page, the new page loads, but only appears in the size as the original submission form. I just want to see the redirected page in full view mode after the user submitted the form. Appreciate the communities help.

Try to redirect user to another URL and close the window on submit, You may try using the following code in the footer of the datapage:

<script>
document.getElementById("caspioform").onsubmit=function()
{
window.open("URL");
window.close();
  }
</script>

Don't forget to specify your URL instead of URL.

Cheers!

Share this post


Link to post
Share on other sites
  • 0
On 12/11/2017 at 11:42 PM, Holger said:

After the user updated the Submit Form, I simply want to redirect to a new page and at the same time close the existing window.  I updated the URL in Destination Option "Destination after record submit - Go to new page". After I submit the page, the new page loads, but only appears in the size as the original submission form. I just want to see the redirected page in full view mode after the user submitted the form. Appreciate the communities help.

Holger,

You can try to redirect the end user at a given time and showing a display message that the submission is successful. Try to place this code below the display message in the  Destination after record submit:

 

setTimeout(function () {
   window.location.href = "https://www.yoururl.com";
}, 5000); 
</script>

-Franchiser-

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×