Replacement Fields not displaying in th

More
3 years 2 months ago #109855 by JayCharles
JayCharles created the topic: Replacement Fields not displaying in th
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?

Please Log in to join the conversation.

More
3 years 2 months ago #109866 by tpartner
tpartner replied the 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.

Please Log in to join the conversation.

More
3 years 2 months ago #109884 by JayCharles
JayCharles replied the 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.

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now