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!
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?
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.