Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am currently trying to modify the newform.aspx for a list in SP 2010. The requirement is to direct a user back to the root site(default.aspx) after submitting the form. I realize I would need to use Designer for this but not sure about the code that would get this done. Any assistance appreciated.

Paul

share|improve this question
1  
Possibly a duplicate of sharepoint.stackexchange.com/questions/9792 –  Kit Menke Jun 21 '11 at 13:44

1 Answer 1

up vote 1 down vote accepted

The simple way to do this is where ever you provide a link to fill out the newform, you change the hyperlink to include ?Source=http://linkyouroyurroot.

In SPD, you can get rid of the default buttons and add your own. http://www.sharepointings.com/custom-list-forms/

share|improve this answer
    
Thanks a lot. For some reason the simplier option of just modifying the link didn't seem to work. The button I created is on the home portal site that direscts to newform.aspx with the source query in the url. Anyway, the SPD option worked well. –  Paul Akerlind Jun 21 '11 at 14:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.