Forum Discussion
Prevent SharePoint to display the List View after create a new item via a SharePoint Form
- Apr 03, 2019
bilbox what we do in on premise SP2013 is to add a source parameter to the link. Once the form is submitted it goes back to the source link. Maybe that will work.
https://tenant/site/lists/yourlist/NewForm.aspx?source=https://thelinktoyourpageyouwanttoreturnto.
Dont use any quotes, and if there are spaces in the return address encode them as %20
bilbox I've used this trick in the past. Add the following query string to the URL you are using with your NewForm.aspx:
?Source=/relativePath/Pages/ThankYou.aspx
If it already exists in the embedded URL you can also edit that part of the query string to insert the relative path to where you would like the page (or framed page) to go once the form is submitted.
Not that you asked for it but another handy trick, is that you can add the ?ctype= query string parameter to specify which content type on a list you would like to submit. This is handy for use cases where you might want to collect different forms/information to one list container responding to each content type differently, perhaps with a workflow/flow.
Hope this helps!