Welcome to the LimeSurvey Community Forum

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

Switch between questions

  • Venkatesh191994
  • Venkatesh191994's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 5 months ago #209027 by Venkatesh191994
Switch between questions was created by Venkatesh191994
Dear Team,

I have two questions under a group each containing different advertisements. I want to display only one of them randomly each time a participant takes my survey. Could you help me achieve it?

Regards,
Venki
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #209034 by Joffm
Replied by Joffm on topic Switch between questions
Hi,

create a random number in a question of type equation (randnum).
{if(is_empty(randnum),rand(1,2),randnum)}

Set the relevance equation of your ad questions either to "randnum==1" or "randnum==2"

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: Venkatesh191994
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose