- Posts: 409
- Thank you received: 34
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Relevance Question -- Token value undefined
- blocka
- Topic Author
- Offline
- Platinum Member
Less
More
7 years 2 months ago - 7 years 2 months ago #146421
by blocka
Relevance Question -- Token value undefined was created 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...
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.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
7 years 2 months ago #146423
by jelo
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
Replied by jelo on topic Relevance Question -- Token value undefined
Post the exact version instead of "lastest" version. In a few days nobody knows what version you're using since new releases occurred.blocka wrote: using latest version of LS
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
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 409
- Thank you received: 34
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?
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.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
7 years 2 months ago #146433
by jelo
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
Replied by jelo on topic Relevance Question -- Token value undefined
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.blocka wrote: And that I have survey set to anonymous -- so this means, that to use participant custom attributes my survey cannot be anonymous?
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
7 years 2 months ago #146518
by DenisChenu
- 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.
Replied by DenisChenu on topic Relevance Question -- Token value undefined
If there are a workaround available :jelo wrote: ....
Not sure if there is 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.