Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Disqualify Participants Based on Rank Question?

  • mkelly7891
  • mkelly7891's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 1 week ago #255097 by mkelly7891
Hey everyone,

I'm relatively new to LimeSurvey. Is there a way I can disqualify respondents based on how they rank numbers in a Ranking Type R question? I have a question set up that asks participants to rank the numbers 1 to 10 from smallest to largest number. I'm trying to use it as an attention check/bot deterrent!

Some additional info; I'm using version 6.4.3 and I'm using my own server.

Any help is appreciated!

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 months 1 week ago #255099 by Joffm
Hi,
you screen out these participant with a quota.
To get a handy criterium  you create a question of type equation, which you use IN your quota.
One easy way is (of course you use numeric codes in your ranking question ("rank")) to check if
code 1 is on 1st rank
code 2 is on 2nd rank
code 3 is on 3rd rank
and so on
{if(rank_1==1 and rank_2==2 and rank_3==3 and ...and rank_10==10 ,1,0)}
So if the result is "0" the participant did not answer correctly.

A different and shorter equation might be
{if(join(that.rank)=="12345678910",1,0)}

And read the manual about equations, implemented functions and the variables "self", "that"

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 months 1 week ago - 11 months 1 week ago #255147 by holch

{if(join(that.rank)=="12345678910",1,0)}


That is a good one! I like how you solved that.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
Last edit: 11 months 1 week ago by holch.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose