Check out the LimeSurvey source code on GitHub!

Show questions depending on previous answers that had the highest rating!

More
4 years 4 months ago #86705 by nedakerimi
Hi,

Ok, so this is my problem.

I have an array question where participants can rate 18 statements on a scale from 1 to 7.
Later in the survey, I want to show different questions depending on which of the 18 statements that got the highest ratings (7 on the scale).

So my problem is, 1) select the statement with the highest rating? And 2) it is possible that several statements get the highest rating. How do I randomly pick one of them? It doesn’t really have to be random, as long as it is one of them.

Many many thxs for any help in this issue.

Please Log in to join the conversation.

More
4 years 4 months ago #86858 by Mazi
Have a look at the Expression Manager functions, especially "max()" and "unique()":
docs.limesurvey.org/Expression+Manager&s...mplemented_Functions


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
4 years 4 months ago #86968 by nedakerimi
Great tip. I will give it a try and update on the status.

Many thanks.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form