Show results of ranking

Plus d'informations
il y a 6 mois 2 semaines #187616 par teracomp
Show results of ranking a été créé par teracomp
I have a simple survey that asks a supervisor to pick 8 to 10 of 22 items and put them in rank order.

Once they're done, I want to show them their results.

Creating the ranking question is simple enough, but I don't see how to display the results after they click "next."

LSS attached if needed.

Thanks!

Dave Phillips
Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 6 mois 2 semaines #187621 par mbates
Réponse de mbates sur le sujet Show results of ranking
Create an Array(Texts) that is shown to the user. Use an Equation that populates the cells in the Array according to the rankings in the previous question.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 6 mois 2 semaines #187627 par jelo
Réponse de jelo sur le sujet Show results of ranking

mbates écrit: Create an Array(Texts) that is shown to the user. Use an Equation that populates the cells in the Array according to the rankings in the previous question.

Why populating an array question? Wouldn't plain Expression Script (Expression Manager) work to display the rankings? I never tried it and some scripting functions are missing (e.g. to lookup with rank a certain element has), but just displaying rank 1 to x will work with textdisplay alone, right?


www.limesurvey.org/forum/can-i-do-this-w...d-expression-manager

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Les utilisateur(s) suivant ont remercié: tpartner, teracomp

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 6 mois 2 semaines - il y a 6 mois 2 semaines #187631 par teracomp
Réponse de teracomp sur le sujet Show results of ranking
Ah...that gives me the detail I needed.

The question name is MRanking, so the top 8 to 10 would be MRanking_1, MRanking_2, etc.

Since I require a minimum of 8, I can safely display MRanking_1.shown, MRanking_2.shown, ... MRanking_8.shown.

I'll need to test for the existence of 9 & 10 and show the results or "Not Used".

This is all I needed for the expression question.

<ol>
<li>{MRanking_1.shown}</li>
<li>{MRanking_2.shown}</li>
<li>{MRanking_3.shown}</li>
<li>{MRanking_4.shown}</li>
<li>{MRanking_5.shown}</li>
<li>{MRanking_6.shown}</li>
<li>{MRanking_7.shown}</li>
<li>{MRanking_8.shown}</li>
<li>{if(MRanking_9.NAOK, MRanking_9.shown, "Not Used")}</li>
<li>{if(MRanking_10.NAOK, MRanking_10.shown, "Not Used")}</li>
</ol>

Thanks for the advice!

Dave Phillips
Dernière édition: il y a 6 mois 2 semaines par teracomp. Raison: added .shown to MRanking_9

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!