Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

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

show if at least two options in previous question is checked il y a 1 an 8 mois #91450

  • adishardis
  • Portrait de adishardis
  • Hors ligne
  • Senior Lime
  • Messages : 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?
L'administrateur a désactivé l'accès en écriture pour le public.

Re: show if at least two options in previous question is checked il y a 1 an 8 mois #91454

  • tpartner
  • Portrait de tpartner
  • En ligne
  • LimeSurvey Team
  • Messages : 4194
  • Remerciements reçus 789
  • Karma: 359
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.
L'administrateur a désactivé l'accès en écriture pour le public.

Re: show if at least two options in previous question is checked il y a 1 an 8 mois #91482

  • adishardis
  • Portrait de adishardis
  • Hors ligne
  • Senior Lime
  • Messages : 58
  • Karma: 0
Thanks a bunch! :)
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.172 secondes
Donation Image