The LimeSurvey Fund-Raiser 2012 is complete. Thank you for donating a total of 25,000 USD!     List of donors »

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: show if at least two options in previous question is checked

show if at least two options in previous question is checked 4 months 2 days ago #91450

  • adishardis
  • adishardis's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 57
  • Karma: 0
Or the other way around, I want to hide a question if only one option has been checked in previous question.

How do I achieve that?
The administrator has disabled public write access.

Re: show if at least two options in previous question is checked 4 months 2 days ago #91454

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2857
  • Thank you received: 424
  • Karma: 244
If, for example, the first question is a multiple-options with question code "Q1" and answer codes "A1", "A2","A3","A4", then the relevance equation for Q2 would be:
sum(Q1_A1.NAOK == 'Y', Q1_A2.NAOK == 'Y', Q1_A3.NAOK == 'Y', Q1_A4.NAOK == 'Y') > 1
Cheers,
Tony

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: show if at least two options in previous question is checked 4 months 2 days ago #91482

  • adishardis
  • adishardis's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 57
  • Karma: 0
Thanks a bunch! :)
The administrator has disabled public write access.
  • Page:
  • 1
Moderators: DenisChenu, ITEd
Time to create page: 0.224 seconds
Donation Image