Difference between revisions of "Double columns in text grids"
Line 17: | Line 17: | ||
[[Image:DoubleColumnInTextGrid2.png]] | [[Image:DoubleColumnInTextGrid2.png]] | ||
− | == Solution == | + | === Solution === |
− | + | ||
+ | *Add a Text grid question to Questionnaire editor like below | ||
+ | *Go to menu Properties -> Question scripts -> Java script tab -> Input script | ||
+ | |||
+ | [[Image:DoubleColumnInTextGrid_Code.png]] | ||
== Code 1 == | == Code 1 == |
Revision as of 09:04, 11 January 2012
Double columns in Text grid
In order to show text grid question in two columns.
As a questionnaire creator
I want to show text fields of a text grid or answers options of single/multi grid in more than one column
Example
- I have a Text grid question like below.
- I want to show text grid question in two columns.
Solution
- Add a Text grid question to Questionnaire editor like below
- Go to menu Properties -> Question scripts -> Java script tab -> Input script
Code 1
//Include the following Javascript
quest.gridcolumns[0] = "Text 1";
quest.gridcolumns[1] = "Text 2";
...