Welcome, Guest
Username: Password: Remember me

TOPIC: Using OR in the Expression Manager

Using OR in the Expression Manager 1 year 8 months ago #93561

  • wiz561
  • wiz561's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
All,

I submitted a bug here, but apparently, I'm doing something wrong. :(

bugs.limesurvey.org/view.php?id=7655

I'm basically trying to display an array if the user chooses "dissatisfied" in the first array. Corby said to check the docs...which I did, but I still believe something isn't right. I didn't want to reopen the ticket and thought I would get some clarification here.

According to the documentation, in the Expression Manager, you can only choose one "previous question" and multiple "predefined" answers. What I would like to do is choose multiple "previous questions" and one "predefined" answer. By editing the mysql db table, I can swap the AND out for an OR, and life is good. But then if I re-edit the question, it resets back to the AND's.

The logic is basically if the user answers dissatisfied in the first array for any of the questions, display the second array.

Thanks!
The administrator has disabled public write access.

Using OR in the Expression Manager 1 year 8 months ago #93564

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 869
  • Karma: 257
Hello,
To use OR with GUI, use scenario : docs.limesurvey.org/Setting+conditions#Using_ORed_conditions_between_different_questions:_the_use_of_scenario

and for complex formula, use Expression Manager docs.limesurvey.org/Expression+Manager

Denis
The administrator has disabled public write access.

Using OR in the Expression Manager 1 year 8 months ago #93608

  • wiz561
  • wiz561's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 14
  • Karma: 0
Ah, ok. Thanks for the information. I believe the missing piece was not using the "scenario" number. I'll have to give this another shot and see what happens...

Thanks!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.097 seconds
Donation Image