Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: token attribute mixed-up

token attribute mixed-up 3 years 6 months ago #95977

  • ricardo01
  • ricardo01's Avatar
  • Offline
  • Expert Lime
  • Posts: 117
  • Thank you received: 1
  • Karma: 0
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?
Last Edit: 3 years 6 months ago by ricardo01. Reason: wrong pic
The administrator has disabled public write access.

token attribute mixed-up 3 years 3 months ago #99380

  • papacico
  • papacico's Avatar
  • Offline
  • Junior Lime
  • Posts: 20
  • Karma: 0
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
The administrator has disabled public write access.

token attribute mixed-up 3 years 3 months ago #99400

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
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 (use private message).
The administrator has disabled public write access.

token attribute mixed-up 3 years 3 months ago #99441

  • FHemmes
  • FHemmes's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 10
  • Thank you received: 1
  • Karma: 0
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 administrator has disabled public write access.
The following user(s) said Thank You: papacico

token attribute mixed-up 3 years 3 months ago #99457

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
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 (use private message).
The administrator has disabled public write access.
The following user(s) said Thank You: papacico

token attribute mixed-up 3 years 3 months ago #99502

  • papacico
  • papacico's Avatar
  • Offline
  • Junior Lime
  • Posts: 20
  • Karma: 0
thank you Fhemmes and Denis the issue is solved using {ATTRIBUTE_1}

kind regards
The administrator has disabled public write access.
Time to create page: 0.230 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form