Welcome, Guest
Username: Password: Remember me

TOPIC: Replacement Fields not displaying in th

Replacement Fields not displaying in th 1 month 1 week ago #109855

  • JayCharles
  • JayCharles's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Hi all,

I am hoping some of you can help with an issue relating to replacement fields. I read about the replacement field issues with emails, and I have tried the solutions outlined in those topics but I have not had any joy yet.

I am using Limesurvey 2.05+ Build 140502

I am trouble getting the replacement field functions to work in the body of a question. I have had no issue with the email invitations using replacement field functions such as {TOKEN:FIRSTNAME} ect but in the body of the question, nothing.

I am trying to populate a date, which is a mandatory token field, into the question.

ie. Since {TOKEN:ATTRIBUTE_1} have you had a CT scan? (where TOKEN:ATTRIBUTE_1 is the last interview date)

I have assigned a field caption "LastInterviewDate" to {TOKEN:ATTRIBUTE_1}. I have also used this as the field description.

Can anyone shed any light as to how I can get the date to display?
The administrator has disabled public write access.

Replacement Fields not displaying in th 1 month 1 week ago #109866

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4049
  • Thank you received: 739
  • Karma: 341
Did you try {ATTRIBUTE_1}?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Replacement Fields not displaying in th 1 month 1 week ago #109884

  • JayCharles
  • JayCharles's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Hi Tony, cheers for the prompt reply

I did give this a try.

When {ATTRIBUTE_1} is used instead, it shows as a syntax error in the Logic file. (It shows up in red text with a box around it)

Thanks anyway. I will keep plugging away.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.140 seconds
Donation Image