Difference between revisions of "Goto web page upon end of questionnaire"
(Created page with "If you want to go to an other web page when you completed the questionnaire, you need to set-up as below: - go to Questions/Questionnaire's javascript menu on questionnaire e...") |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
If you want to go to an other web page when you completed the questionnaire, | If you want to go to an other web page when you completed the questionnaire, | ||
− | you need to set-up as below: - | + | you need to set-up as below: |
+ | |||
+ | - Go to Questions/Questionnaire's javascript menu on questionnaire editor | ||
Line 9: | Line 11: | ||
− | - | + | - Put js code to them <source lang="javascript"> |
+ | AnswerSheet.bind('afterCompleted', function(ev, answerSheet, questionnaire) { | ||
+ | window.location ="https://www.w3schools.com"; // Fill Your Web Page Address here | ||
+ | }); | ||
+ | |||
+ | </source> | ||
+ | |||
+ | |||
+ | |||
+ | [[File:Aftercompleted.png]] | ||
+ | [[Category:Questionnaire]] |
Latest revision as of 08:31, 12 April 2017
If you want to go to an other web page when you completed the questionnaire,
you need to set-up as below:
- Go to Questions/Questionnaire's javascript menu on questionnaire editor
- Put js code to them
AnswerSheet.bind('afterCompleted', function(ev, answerSheet, questionnaire) {
window.location ="https://www.w3schools.com"; // Fill Your Web Page Address here
});