Number grid
Turn a text grid question into a number grid
In order to use a number grid question
As a questionnaire creator
I want to turn a text grid question into a number grid
Solution
- Add a Text grid question to Questionnaire editor like below
- You can use question property instead of using java script.
- Go to menu Properties -> Question scripts -> Java script tab -> Input script
Code
var maxSQ = quest.questions.length;
for(var i = 0; i < maxSQ; i++)
quest.questions[i].answertype = 2;
Source
Questionnaire Resource Id on cg site: 159730