EM returns the code - I want the Answer

More
4 years 11 months ago #82728 by mark01
mark01 created the topic: EM returns the code - I want the Answer
I'm new at EM but want to master it as I see it's potential.
I have a list (radio) question "What country are you from".
Later on I want to have a question that says "You are from XYX".
I code the question - You are from {COUNTRY}.
If the respondent is from country code number say 10 then 10 is inserted as the country.
How do I get the country not its code?
Number 10 = XYZ - so the answer not the code.

Thank you all

Please Log in to join the conversation.

More
4 years 11 months ago #82858 by Mazi
Mazi replied the topic: EM returns the code - I want the Answer
When using the integrated editor, there is a "LimeReplacement" icon to add such placeholders. This should then show the answer text and not the code.

For more details how EM handles this, see docs.limesurvey.org/Expression+Manager&s...#Access_to_Variables


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
4 years 11 months ago #82859 by TMSWhite
TMSWhite replied the topic: EM returns the code - I want the Answer
Use {COUNTRY.shown}

Please Log in to join the conversation.

More
4 years 11 months ago #82873 by mark01
mark01 replied the topic: EM returns the code - I want the Answer
Thanks Mazi - will check out the link

Please Log in to join the conversation.

More
4 years 11 months ago #82874 by mark01
mark01 replied the topic: EM returns the code - I want the Answer
Thank you - just what I'm after.
Mark

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now