Welcome to the LimeSurvey Community Forum

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

Take the highest rated options in two questions and pipe to next one

  • Bee4420
  • Bee4420's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #228620 by Bee4420
Brilliant!!! Thank you. I will try that.

Many thanks,
Bee

Please Log in to join the conversation.

  • Bee4420
  • Bee4420's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #228622 by Bee4420
Sorry to bother you again, Joffm. I tried but i am stuck again after seperating the countries. Can you please help me again with the coding.

Thank you,
Bee

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 11 months ago #228624 by Joffm
1. Don't use "{rand(x,y)}"
Use instead "{if(is_empty(randnumber),rand(x,y),randnumber)}"
Otherwise the randnumber changes with each click (same behaviour as Excel)

2. equation called "eqCountries"
{if(randnumber==1,eqCountriesLL,if(randnumber==2,eqCountriesHH,if(randnumber==3,eqCountriesLH,eqCountriesHL)))}
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: Bee4420

Please Log in to join the conversation.

  • Bee4420
  • Bee4420's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #228627 by Bee4420
now it works perfectly.
Thank youuuuuuuuuu, Joffm!!!!!!!

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose