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

TOPIC: token attribute mixed-up

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

  • ricardo
  • ricardo'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 2 months ago by ricardo. Reason: wrong pic
The administrator has disabled public write access.

token attribute mixed-up 2 years 11 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 2 years 10 months ago #99400

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9281
  • Thank you received: 1324
  • Karma: 384
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

token attribute mixed-up 2 years 10 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 2 years 10 months ago #99457

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9281
  • Thank you received: 1324
  • Karma: 384
DenisChenu wrote:
If this happen with last version too, please report the bug.
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
The following user(s) said Thank You: papacico

token attribute mixed-up 2 years 10 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.
Moderators: ITEd
Time to create page: 0.292 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form