Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Replacement Fields not displaying in th

  • JayCharles
  • JayCharles's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 5 months ago #109855 by JayCharles
Replacement Fields not displaying in th was created by JayCharles
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 topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 5 months ago #109866 by tpartner
Replied by tpartner on topic Replacement Fields not displaying in th
Did you try {ATTRIBUTE_1}?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • JayCharles
  • JayCharles's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 5 months ago #109884 by JayCharles
Replied by JayCharles on topic Replacement Fields not displaying in th
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 topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose