Check out the LimeSurvey source code on GitHub!

token attribute mixed-up

More
3 years 8 months ago - 3 years 8 months ago #95977 by ricardo01
I'm using Version 2.00+ Build 130428

I set up a token list and added a new field attribute_1. The new field was "January 2013" or "August 2012"

I set up an invitation like this:



However, some people have emailed to me saying that date is not correct. For example, the date for this person is August 2013,



but his email shows January 2013.





Other people simply did not get the date:




Has anybody else had the same problem?
Attachments:
Last Edit: 3 years 8 months ago by ricardo01. Reason: wrong pic

Please Log in to join the conversation.

More
3 years 4 months ago #99380 by papacico
hello Ricardo,

yes i have the same problem the {token:attribute_1} is not returning the value from the token table,

did you already solved this problem? Could you please share the solution?

Thank you bye

Please Log in to join the conversation.

More
3 years 4 months ago #99400 by DenisChenu
If this happen with last version too, please report the bug.

But i think i see a fix for that some week ago.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
3 years 4 months ago #99441 by FHemmes
Hello ricardo, papacico,

I had the same problem some time ago. The email invitations would sometimes load the right tokens, sometimes the wrong ones, and sometimes none at all.

What made the difference for me was using the field replacement tags without the word 'TOKEN' in them. So use {ATTRIBUTE_1} instead of {TOKEN:ATTRIBUTE_1}. Include 'TOKEN' only in the field replacement tags you build into the survey itself.
This solved the problem for me. You can find my thread on this problem here: www.limesurvey.org/en/forum/design-issue...butes-in-invitations

There is also a page in the manual related to replacement field tags that has information on this here: manual.limesurvey.org/Tokens#Emailing

I hope this solves your problem.

Best,
FH
The following user(s) said Thank You: papacico

Please Log in to join the conversation.

More
3 years 4 months ago #99457 by DenisChenu

DenisChenu wrote: If this happen with last version too, please report the bug.


Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
The following user(s) said Thank You: papacico

Please Log in to join the conversation.

More
3 years 4 months ago #99502 by papacico
thank you Fhemmes and Denis the issue is solved using {ATTRIBUTE_1}

kind regards

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form