Display variable with the highest value
Jun 12, 2015
Hi
I am creating a course where the user answers a series of questions based on how how much they agree or disagree. The idea is that the user goes through the questions answering on a scale of 0-5 (strongly disagree - strongly agree), the user is then presented with a recommendation based upon there answers. So for example the user may answer strongly agree to the first question, which will assign a value of 5 points to a number of relevant variables (the recommendations). My issue is displaying the highest variable at the end of the quiz. If there were 2 or 3 potential recommendation then I could simply do something along the lines of displaying a variable based on if it was greater than the value of the other variables, but I have about 50 recommendations so this is pretty laborious. Would really appreciate any help on this one.
Cheers, Leo
2 Replies
Hi Leo,
This is a tricky one without seeing the project, but initially I was thinking along the same lines as you. Showing the "variable based on if it was greater than the value of the other variables". This seems to make the most sense.
Given that you have a lot of recommendations, could you group the results onto layers? So, if you need to give recommendations A, D, E & T they could all go together on one layer. Recommendations B, C, F & H could go on another layer.
Do the recommendations lend themselves to grouping like this? I imagine you'd still need to include your initial idea to some degree to choose which layer you'd like.
Hi, Leo -- Thanks for your question, and as Jason mentioned, it may be helpful to share your file so that others in the community are able to take a closer look and make suggestions. Please use the ADD ATTACHMENT button in the bottom left of the reply box, and you can browse for your file from there. :)
This discussion is closed. You can start a new discussion or contact Articulate Support.