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.



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.

| 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
  • External site link dead. – Ravimallya Oct 30 '15 at 10:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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