Search code examples
javascriptsharepoint-2010sharepoint-designer

Sharepoint NewForm redirect with ID


When I add a new item to a list, on save I need to redirect to another form with item ID value that was just added. sending it through URL. I have seen posts of how to do that from edit form or display form where the id already there. but this is from the newform. thank you in advanced.

Update: Or If this is hard, how can I get the last ID in that list?


Solution

  • I used this solution here. You just need to change the listname. http://sympmarc.com/2009/06/12/redirect-to-another-page-from-newform-aspx-with-the-new-items-id/