SharePoint List redirect user after submitting form NewForm.aspx

SharePoint users are always redirected to the default list view (AllItems.aspx) after creating a new List Item or submitting a custom form (Save, Cancel, Close - they all do that).

  • Create List Item (NewForm.aspx) - Clicking Save or Cancel button redirect to default list view.
  • Edit List Item (EditForm.aspx) - Clicking Save or Cancel button redirect to default list view.
  • Access List Item (DispForm.aspx) - Clicking Close button redirect to default list view.

But what if you want to redirect the user to the "Home page", custom "Thank you" page or any other page.

Well, there is a simple OOTB (out of the box) solution to achieve this.

This quick solution works for SharePoint Online / SharePoint 2019 / SharePoint 2016 / SharePoint 2013 / SharePoint 2010 / MOSS. Test it in your development environment before implementing for live site.

Redirect to different page after adding new SharePoint list
Redirect to different page after adding new SharePoint list

⭐ Steps to redirect to different page after adding new list items in SharePoint

  1. Navigate to your SharePoint List / Library.
  2. Click "New" button from Ribbon to create a new List Item.
  3. Copy the URL link from address bar in browser.

  4. It will be in this format -

    The "Source" parameter tells SharePoint where to redirect the user after form submission.

  5. Replace the redirection link, everything after "Source=". You may ignore the RootFolder parameter.

  6. Assume, we have a custom Thank you page created at this location -

    Append this link after "Source=" as below.

  8. Now you can use this link and add it in navigation (Quick Launch, Top Navigation, Quick Links, etc.).
  9. When user saves a new item using this link, will be redirected to custom thank you page.

For redirecting to the Home page, simply add sign "/" for Source parameter.


You can use this approach for both Modern and Classic SharePoint development - with SPFX custom forms, HTML and JQuery based forms in Content Editor / Script Editor web parts.

Have Questions? Post them here!
Try Out Code2care Dev Tools:


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.