Welcome to the LimeSurvey Community Forum

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

"join" in equatation

  • wilson31begijnendijk
  • wilson31begijnendijk's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 9 months ago #155100 by wilson31begijnendijk
"join" in equatation was created by wilson31begijnendijk
I was wondering if there is a way to use a "join" in a condition like this ... {t1=if(join("a1_SQ",TOKEN.attr_1,".code=='Y'"),TOKEN.attr_1,0)}

I could resolve my problem with nested conditions, but since there are about 150 values for token.attr_1 (up to atr 10) this would make life easier. I need to compare the tokenvalues with the selected values in a multiple response.

Thanks a lot for pointing me to a better solution
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 9 months ago #155105 by tpartner
Replied by tpartner on topic "join" in equatation
As far as I know, you cannot use variables in variable names. (which I think is what you're asking)

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: wilson31begijnendijk
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose