Rotate answer options/sub questions: Difference between revisions
From Catglobe Wiki
More actions
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... |
(No difference)
|
Revision as of 02:12, 8 January 2009
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 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
quest.rotateAnswerOptions(0, 5, 3);