Mar 2, 2010 at 1:06 PM
Edited Mar 2, 2010 at 3:14 PM


I use your SPRedirectWithID function to redirect my page when I save my item but is it possible to redirect an other page when I click on "cancel" button ?

It is possible to have a SPRedirect without ID ?

With the ID, the page refresh to "NewForm.aspx" and just after to "DispForm.aspx"

My code :

<script type="text/javascript" language="javascript">
	var redirectLink = "DispForm.aspx"
	$(document).ready(function() {
			redirectUrl: redirectLink


Thanks in advance !! :-)

Mar 2, 2010 at 3:33 PM

Interesting, and I see your point.  I'll have to think abvout how I might implement this one.


Mar 2, 2010 at 3:34 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.