Welcome, Guest
Username: Password: Remember me

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

show if at least two options in previous question is checked 1 year 8 months ago #91450

  • adishardis
  • adishardis's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 58
  • 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 1 year 8 months ago #91454

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4266
  • Thank you received: 803
  • Karma: 368
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 Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

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 1 year 8 months ago #91482

  • adishardis
  • adishardis's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 58
  • Karma: 0
Thanks a bunch! :)
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.148 seconds
Donation Image