Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Goto web page upon end of questionnaire: Difference between revisions

From Catglobe Wiki
Hovietluu (talk | contribs)
No edit summary
Hovietluu (talk | contribs)
No edit summary
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
- Go to Questions/Questionnaire's javascript menu on questionnaire editor




Line 11: Line 11:




- put js code to them
- 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]]

Revision as of 07:26, 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
});