Welcome to the LimeSurvey Community Forum

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

array number Mutual exclusion

  • surveySn
  • surveySn's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 years 5 months ago #208981 by surveySn
array number Mutual exclusion was created by surveySn
I want the red box and the blue box to repel each other

If I like apples and I choose 3, I don't like apples, can't choose 3 and 4.

File Attachment:

File Name: limesurvey...1671.lss
File Size:19 KB
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #208984 by Joffm
Replied by Joffm on topic array number Mutual exclusion
Hi,
why do you use an array(numbers)?
Isn't it the real scenario?

The easiest way is to validate.
(Q1_SQ001_SQ003==1 OR Q1_SQ001_SQ004==1) AND !(Q1_SQ002_SQ003==1 OR Q1_SQ002_SQ004==1)

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • surveySn
  • surveySn's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 years 5 months ago #208985 by surveySn
Replied by surveySn on topic array number Mutual exclusion
A particular problem,

How do you disable options?
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose