Sorting or ranking variables in Captivate
Good morning all!
I am planning a quiz-type activity in Captivate with a number of personal attributes, and a series of questions to measure your strength against each attribute. At the end of the quiz, I want to disply your highest ranked attribute.
I initially thought this would be easy, I planned to have a variable for each attribute and use an action to increase the score for the attribute variable based on each answer. So, for example:
varAttributeA, varAttributeB, varAttributeC.
Q1: Do you prefer x or y. if x, increase varAttributeA by 1, if y increase varAttributeB by 1.
However I can't see an obvious method of ranking or sorting a set of variables by their value in Captivate. Does anyone know if there is a way to do this, or a good workaround?
The best I have come up with so far (on paper) is to have an advanced action with a bunch of conditional tabs comparing one variable to another, then another, and storing the highest variable overall from the set of comaprisons in another variable, and using that to display what I want at the end. But that seems pretty clunky?
