Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Expression Manager changes ORes to ANDes

Expression Manager changes ORes to ANDes 2 years 11 months ago #102685

  • rui_b
  • rui_b's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Hello all,

I am having a strange problem. I set 2 combined conditions in Expression Manger, they appear like

shopping [From token table] equals 1
or
shoppinh [From token table] equals 2


but when I save, and get back to the question I have

(TOKEN:ATTRIBUTE_CPDB_4=="1") AND (TOKEN:ATTRIBUTE_CPBD_4=="2")

and then reacts like showing the question only if both expressions are valid (AND). Is there anyting I am doing or understanding wrong?

Best regards,
Rui Bernardo
The administrator has disabled public write access.

Expression Manager changes ORes to ANDes 2 years 11 months ago #102688

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5417
  • Thank you received: 806
  • Karma: 239
First of all we need to differenciate, is it expressions in Expression Manager or conditions in the conditions section?

Which version of LS are you using?
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
The administrator has disabled public write access.

Expression Manager changes ORes to ANDes 2 years 11 months ago #102699

  • rui_b
  • rui_b's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Sorry, I edit in the conditions (after clicking set conditions). I am using version 2.00+
The administrator has disabled public write access.

Expression Manager changes ORes to ANDes 2 years 11 months ago #102735

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6566
  • Thank you received: 1477
  • Karma: 578
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 2 years 11 months ago by tpartner.
The administrator has disabled public write access.
Time to create page: 0.291 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form