Note: This tip is really only useful if you have created custom buttons which point to the “NewForm.aspx†page of your list (aka: the create a new item part of your form). Example: Maybe you created a sign-up list and to get creative, you added a fancy button to your page which points to http://yoursite/Lists/Signup/NewForm.aspx
Such was the case while working through some final tweaks on the Community Kit for SharePoint: User Group Edition 1.0 with Lawrence, he let me in on an interesting tip which I think others will also find quite useful so I wanted to share it here.
The tip is that you can easily redirect users to a custom page/url after they have completed the form by appending a ?source= URL to the end of the URL pointing to the list.
End to End Example:
- Create a custom list, call it signup. Add a column or two to make it realistic.
- Create a web part page, name it Thank You. Place it in a library of your choice.
- Add a content editor web part to the page, modify it to display your thank you message.
- When satisfied, exit edit mode and copy the the entire URL from the browsers address bar.
- Create a sign-up button in your editor of choice and upload it to a library of your choice.
- Add your image to the page, again using a content editor web part.
- Link your button to the form using the following HREF: http://yoursite/Lists/Signup/NewForm.aspx
- To redirect users to a custom page after they have completed the form, simply add ?SOURCE=Your Thank You Page.
- In the end you should have an HREF around your image that resembles something along the lines of a a http://yoursite/yourlist/newform.aspx?source=http://yoursite/yourlibrary/thankyou.aspx
Source Shane Perran






We’re using this approach to redirect after editing or closing a task, but it doesnt seem to work when the source url is in a different domain than the page itself. Anyone know why this is? It’s not creating the correct redirect link when the page loads. At the moment we’re working on the assumption that there’s some validation script that gets caught up by some cross-domain restriction and decides the url is no good but it’s a bit of a wild guess
Hi
How can I redirect with custom values ? like CustomNewform.aspx?Title=FormFieldtitle so on the other page i will get the formfieldtitle from the previous one
Cheers
This is awesome! I am building a SharePoint site for my organization, and I don’t want the casual user to see the “SharePoint” stuff, such as the AllItems view after posting an entry to my Guest Book. This fixed the problem for me!
I have a sharepoint site that I use at work on our intranet. We use it to issue callbacks to a separate team.
A user will fill out the form and then submit it, the details will be added to the datasheet begind the form.
Once the user has filled out the form, the page directs you to the datasheet. I dont want people everyone to be abel to see this so I would like to set a redirect so that once you click the ‘OK’ button the page redirects to the NewForm.aspx again or to the sharepoint homepage.
Does anyone know how I would go about doing this?
thanks
Harrison