This project has moved and is read-only. For the latest updates, please go here.

Do I use SPRedirectWithID for multiple redirects?

Nov 16, 2010 at 7:27 PM

And if so, how?

What I'm looking to do is to chain multiple forms together, with each passing the same ID on to the next form.  The first redirect works with no problem, but I'm having issues with the second (of probably at least six).  If I include it in the document ready, it redirects immediately.  I've tried attaching it to the Save button, but without success so far.  And when it does work, it's extremely slow.

So, is this what SPRedirectWithID is for, or is it just for redirecting from new item forms?



Nov 17, 2010 at 4:21 AM

SPRedirectWithID is only intended for use on (or needed in the case of) the NewForm for a list. In your chain of 6 forms, are they all NewForms? If not, then you don't need SPRedirectWithID in all cases.