Welcome, Guest
Username: Password: Remember me

TOPIC: Expression Manager changes ORes to ANDes

Expression Manager changes ORes to ANDes 3 months 4 weeks 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 3 months 4 weeks ago #102688

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2441
  • Thank you received: 254
  • Karma: 94
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 | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Expression Manager changes ORes to ANDes 3 months 4 weeks 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 3 months 3 weeks ago #102735

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 3813
  • Thank you received: 683
  • Karma: 327
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.
Last Edit: 3 months 3 weeks ago by tpartner.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.105 seconds
Donation Image