Redirect
Home › Forums › Classic DFFS › Redirect
- This topic has 3 replies, 2 voices, and was last updated 11 years ago by
Alexander Bautz.
-
AuthorPosts
-
-
April 2, 2015 at 17:54 #7349
Is there a way to redirect users when a form is submitted? Like in InfoPath you could redirect to another view. I assume I could make a confirmation page of the sorts but how would I redirect on submit? Thanks!
-
April 6, 2015 at 14:15 #7359
There are a few methods – like the one described here: https://spjsblog.com/2011/04/23/redirect-from-newform-to-dispform-or-editform/
Unfortunately this will not work for SP2013, but you find one workaround in the comments below: https://spjsblog.com/2011/04/23/redirect-from-newform-to-dispform-or-editform/#comment-195397
Hope this helps,
Alexander-
October 19, 2015 at 20:09 #8855
Good day sir. This worked great for getting from one form to another. I looked through your forums and cannot come up with a way to redirect a user to a simply URL like http://www.mysite.com
I am using the current version of DFFS
I am using sharepoint 2013
I used this $(“input[id$=’diidIOSaveItem’]”).attr(“onclick”,”window.history.back()”); but of course that did not work out that well…only partially because I do notknow what I am doing.Is there a bit of code I can add to the Custom JS in DFFS that will submit that data on save and redirect a user to a URL?
Thanks!!!
-
-
October 24, 2015 at 07:26 #8941
Hi,
Sorry, but currently I don’t have a good solution to this in SP2013. The method used in previous versions does not work anymore and I have not figured out a good solution for out of the box forms opened in a dialog.If you are not using a dialog, you can use the “Source rewrite” as described in the link in my answer above.
If you however use a custom function to open a form in a dialog you can set a callback function to redirect the user when the form is submitted.
Alexander
-
-
AuthorPosts
- You must be logged in to reply to this topic.