- Posts: 25
- Thank you received: 2
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Token Attributes in Question Group Description
- d90
- Topic Author
- Offline
- Junior Member
Less
More
8 years 7 months ago #124169
by d90
Token Attributes in Question Group Description was created by d90
I'm having an issue I don't know how to diagnose. I've had intermittent issues with the token attributes not populating their proper placeholders in my Question Group Description. Sometimes it shows up in the survey and sometimes it doesn't. I'm not sure why either way. I just created 6 instances of my test survey and it isn't show on all of them.
Code:
Order #: {TOKEN:ATTRIBUTE_1} Invoiced On: {TOKEN:ATTRIBUTE_2} Please select from the following options 5 = Very Satisfied, 4 = somewhat satisfied, 3 = Neutral, 2 = Somewhat dissatisfied, 1 = Very dissatisfied
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
8 years 7 months ago #124174
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Token Attributes in Question Group Description
So you are accessing these surveys via the link with a specific token, right?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- d90
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 2
8 years 7 months ago #124179
by d90
Replied by d90 on topic Token Attributes in Question Group Description
That is correct.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
8 years 7 months ago #124184
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Token Attributes in Question Group Description
What is strange is that it sometimes shows and sometimes not and you don't seem to have identified a pattern for it, right? This makes it quite difficult to circle the problem, because there is no point to start.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
8 years 7 months ago #124191
by jelo
Did you test, if the same placeholders worked in a questions text instead in the questions group description?
Did you check, if the attributes which are displayed and not displayed are random? Or is there a pattern which holch asked for?
And please tell us which LS version and build are you using.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Token Attributes in Question Group Description
Sometimes the attributes are shown, but in all six instances it isn't shown on all of them? How is that possible? Not shown at all, but sometimes?d90 wrote: Sometimes it shows up in the survey and sometimes it doesn't. I'm not sure why either way. I just created 6 instances of my test survey and it isn't show on all of them.
Did you test, if the same placeholders worked in a questions text instead in the questions group description?
Did you check, if the attributes which are displayed and not displayed are random? Or is there a pattern which holch asked for?
And please tell us which LS version and build are you using.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
8 years 7 months ago #124214
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Token Attributes in Question Group Description
Along with holch's and jelo's suggestions, try something like this to see if the token attribute is actually found.
Code:
Order #: {if(TOKEN:ATTRIBUTE_1, TOKEN:ATTRIBUTE_1, 'None found')} Invoiced On: {if(TOKEN:ATTRIBUTE_2, TOKEN:ATTRIBUTE_2, 'None found')}
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.