Welcome to the LimeSurvey Community Forum

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

Relevance Question -- Token value undefined

  • blocka
  • blocka's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
7 years 2 months ago - 7 years 2 months ago #146421 by blocka
I've come across a scenario where we create a question condition based on a custom participant attribute... And when we set the rule, the rule appears in the relevance equation field, but then in the Set Conditions page, the token value isn't shown, and on the question summary page, the equation reports back as undefined variable.

Here's a quick screen movie: youtu.be/TdWllaLxTEE

Any idea why this would happen? using latest version of LS

Okay -- we deleted participant list, and reimported -- which resolved the undefined variable issue, but we still don't see the token attribute in the condition builder... So still have a problem...
Last edit: 7 years 2 months ago by blocka. Reason: New details
The topic has been locked.
More
7 years 2 months ago #146423 by jelo

blocka wrote: using latest version of LS

Post the exact version instead of "lastest" version. In a few days nobody knows what version you're using since new releases occurred.

Were the tests done with activated surveys?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • blocka
  • blocka's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
7 years 2 months ago #146424 by blocka
Replied by blocka on topic Relevance Question -- Token value undefined
Good point re: version - 2.57.1+161205

I tried with survey active and inactive. I did see here : manual.limesurvey.org/Setting_conditions

that "Participant's profile data To use Token attributes, "Anonymized responses" must be set to NO. This option can be found in General Settings -> Tokens tab"

And that I have survey set to anonymous -- so this means, that to use participant custom attributes my survey cannot be anonymous?
The topic has been locked.
More
7 years 2 months ago #146433 by jelo

blocka wrote: And that I have survey set to anonymous -- so this means, that to use participant custom attributes my survey cannot be anonymous?

Yes, the developers want to prevent identification by attributes. Which is sometimes not the case when using just a few attributes for other purpose but developers want to ensure that the anonymous setting prevents the possibility of using attributes for that.

Not sure if there is a workaround available.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #146518 by DenisChenu
Replied by DenisChenu on topic Relevance Question -- Token value undefined

jelo wrote: ....
Not sure if there is a workaround available.

If there are a workaround available :
- Use token information in an anonymous survey
= > It's a major issue

Then except set "Not anonymous", i hope there are no workaround (hacking PHP code is not a valid workaround :) )

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose