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

SUJET : Conditions on sub-questions of a question???

Conditions on sub-questions of a question??? il y a 1 an 4 mois #94207

  • marierioux
  • Portrait de marierioux
  • Hors ligne
  • Fresh Lemon
  • Messages : 4
  • Karma: 0
Good afternoon,
I would like to know if it is possible to set conditions on/for subquestions of a question? How to? I am using limesurvey Version 2.00+ Build 130305.

Thanks
L'administrateur a désactivé l'accès en écriture pour le public.

Conditions on sub-questions of a question??? il y a 1 an 4 mois #94225

  • DenisChenu
  • Portrait de DenisChenu
  • Hors ligne
  • Moderator Lime
  • Messages : 6252
  • Remerciements reçus 799
  • Karma: 239
Hello,

Not reaaly included. The only condition is the array_filter and array_filter exclusion.

You can use too some Expression[1] in Sub-question validation equation [2]
For example, something like this:
if(Q1==Y,MUL_SQ001=="","")
force to answer SQ001 if Q1 answer is Y (not tested: if it work you can write here)

Denis
1 : docs.limesurvey.org/Expression+Manager
2 : docs.limesurvey.org/Question+type+-+Mult..._validation_equation
L'administrateur a désactivé l'accès en écriture pour le public.
Cet utilisateur a été remercié pour son message par: marierioux

Conditions on sub-questions of a question??? il y a 1 an 4 mois #94250

  • marierioux
  • Portrait de marierioux
  • Hors ligne
  • Fresh Lemon
  • Messages : 4
  • Karma: 0
IT WORKED!!!
I used {if(QuestionX == "Y" or QuestionX == "Z", "your answer","")}
The last 2 "" at the end are used because if the 2 conditions are not met, I don't want to have anything written (but you can also write something)...

Thanks again
L'administrateur a désactivé l'accès en écriture pour le public.

Conditions on sub-questions of a question??? il y a 1 an 1 mois #98270

  • trivender
  • Portrait de trivender
  • Hors ligne
  • Expert Lime
  • Messages : 142
  • Remerciements reçus 5
  • Karma: 5
Although I have started a new thread

www.limesurvey.org/en/forum/can-i-do-thi...-input-type-question

but I am trying to to modify the equation that is being discussed here .. no success so for:(.
Trivender Singh
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
Dernière édition: il y a 1 an 1 mois par trivender.
L'administrateur a désactivé l'accès en écriture pour le public.

Conditions on sub-questions of a question??? il y a 1 an 4 semaines #98279

  • trivender
  • Portrait de trivender
  • Hors ligne
  • Expert Lime
  • Messages : 142
  • Remerciements reçus 5
  • Karma: 5
((q1_1 != "Y") || (q1_2 != "Y"))
Trivender Singh
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
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.231 secondes
Donation Image