Contents
Anyone coming here looking for how to redirect the Cancel button, PLEASE PLEASE PLEASE check the behavior in your own site before spending hours hunting for some esoteric solution like one of my user’s did. I showed him how to use the source parameter, and we solved his issue in <1 minute. Create a Thank You page and copy the URL. Save for Later.
How to redirect to new page or URL after form?
From inside your WordPress admin dashboard, click on the Forms menu item. Next, navigate to the form that you want to configure form submission redirects on. At the top of the form editor, hover over Settings and click on Confirmations. Most users will want to edit their default confirmation.
How to redirect user after submitting Form?
Navigate to your SharePoint List / Library. Click “New” button from Ribbon to create a new List Item. Copy the URL link from address bar in browser. The “Source” parameter tells SharePoint where to redirect the user after form submission. Replace the redirection link, everything after “Source=”. You may ignore the RootFolder parameter.
The examples below are not applicable when the form is opened in a panel. RedirectUrl is ignored inside a panel. To redirect users to any page on the web, all you need to know is the URL of this page. It can be a page on your SharePoint site or it can be any website page.
Save button works fine as expected but at the same time Cancel button redirects to Thanks page as well. Ideally Cancel should redirect to some other page like Home Page.
How to redirect to a different page after adding new list items?
Basically that is the AllItems.aspx view URL. So when the user Submits an item to the list, then the user usually redirects to that page. Now remove everything presented after “Source=”. And then put your custom page URL which looks like below: Then remove the +new item link which is presented in the list. You can follow this article to do that.
So to handle the redirect after clicking the Submit button, you should handle the New item link rather than the Submit button. Add below JavaScript code on Newform/EditForm by adding content editor / script editor web part