Welcome to the LimeSurvey Community Forum

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

Display one answer but store another value?

  • pjbrydon
  • pjbrydon's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 8 months ago - 10 years 8 months ago #111563 by pjbrydon
Hi, I was wondering if there was an easy way to display a string such as "Best"/"Worst" in answer fields but actually have LimeSurvey store numbers instead? It sounds simple but I haven't been able to figure out a way to do it. The specific question type I've been using is "array" but if there's a general way to do it for any relevant question type I'm all ears.

(R doesn't exactly appreciate finding text strings when I try to ask for mean(mycsv$Q1). I know I could just use find and replace on the csv files but it would be really nice to correct it here. :whistle: )
Last edit: 10 years 8 months ago by pjbrydon. Reason: Slightly more specific
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 8 months ago #111565 by holch
That is actually the default way. As question code you use numbers and for the Answer options you use the name.



Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The following user(s) said Thank You: pjbrydon
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose