SharePoint List redirect user after submitting form NewForm.aspx


Scenario

Consider a SharePoint Out Of The Box list (or even custom list for that matter).

Users are always redirected to the default list view (AllItems.aspx) after clicking a button on the form (Save, Cancel, Close) -

  1. Create List Item (NewForm.aspx) - Clicking Save or Cancel button redirect to default list view.
  2. Edit List Item (EditForm.aspx) - Clicking Save or Cancel button redirect to default list view.
  3. Access List Item (DispForm.aspx) - Clicking Close button redirect to default list view.
  4. How to redirect to a different page
  5. What if you want to redirect the users to a different page, like the Home page.
  6. Append a query string parameter/attribute Source=[redirection link] to the URL, this will navigate the user to the specified page.
This is how you do for redirecting to the Home page (/)

http://sharepointsite/Lists/SPList/NewForm.aspx?Source=/

http://sharepointsite/Lists/SPList/EditForm.aspx?id=1&Source=/

http://sharepointsite/Lists/SPList/DispForm.aspx?id=1&Source=/