Created
November 12, 2018 14:23
-
-
Save fabianneve/44d9d2b54745bbd52bbfed6fd766aed1 to your computer and use it in GitHub Desktop.
Forward user to a Thank You Page, but return to previous page when cancelling the survey - https://fneve.blogspot.com/2017/04/sharepoint-survey-forward-user-to-thank.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="/sitecollection/site/SiteAssets/jquery.min.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
$(function() { | |
$('input[value=Cancel]').click(function() {history.go(-1);}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment