Welcome to the LimeSurvey Community Forum

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

annidamento condizioni

  • giorgiagTN
  • giorgiagTN's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 11 months ago - 3 years 11 months ago #198313 by giorgiagTN
annidamento condizioni was created by giorgiagTN
Buongiorno


in un questionario ho una domanda che deve comparire se sono soddisfatte le condizioni rispetto a due diverse domande precedenti.
In pratica MOB3 mi deve comparire se alla domanda MOB1 è stato selezionato "autobus" o "treno" E alla domanda MOB2 ogni altra opzione che non sia "autobus" o "treno".
Utilizzando gli scenari mi compaiono tutti "o", come posso fare ad inserire la E? Ho fatto qualche tentativo, ma è stato vano.
Grazie
Attachments:
Last edit: 3 years 11 months ago by giorgiagTN.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #198316 by Joffm
Replied by Joffm on topic annidamento condizioni
Buongiorno,

Questo è un po 'complicato in Condition Builder. Scenari multipli e ..
Non utilizziamo più Condition Builder, ma Expression Manager / Script

La Equazione di rilevanza:
(MOB1_SQ003=="Y" OR MOB1_SQ004=="Y") AND (MOB2_SQ003!="Y" AND MOB2_SQ004!="Y")

se SQ003 e SQ004 sono i codici per "autobus" e "treno"

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: lfanfoni
The topic has been locked.
  • giorgiagTN
  • giorgiagTN's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 11 months ago - 3 years 11 months ago #198322 by giorgiagTN
Replied by giorgiagTN on topic annidamento condizioni
Funziona,
Fantastico!
Grazie mille
Non ci avevo pensato perchè non utilizzo ancora molto bene Lime e sono restia a mettere mano agli exp manager...
Last edit: 3 years 11 months ago by giorgiagTN.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose