Difference between revisions of "Rotate answer options/sub questions"
(New page: == Challenge == In order to synchronize the answer option/sub question rotation among more than one questions As a questionnaire creator I want to control the rotation by setting exp...) |
(→Challenge) |
||
Line 1: | Line 1: | ||
− | == | + | == Rotate answer options/sub questions == |
In order to synchronize the answer option/sub question rotation among more than one questions | In order to synchronize the answer option/sub question rotation among more than one questions |
Revision as of 09:19, 5 January 2012
Rotate answer options/sub questions
In order to synchronize the answer option/sub question rotation among more than one questions
As a questionnaire creator
I want to control the rotation by setting explicitly the first item in a range after rotation
Example
I have a list of drinks as answer options
I want to have Mirinda as the top answer option in the list and keep None of the above in its original position
Solution
Set the rotation range from 0-5 with rotation index is 3
Code
1 quest.rotateAnswerOptions(0, 5, 3);