Welcome to the LimeSurvey Community Forum

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

Can I put a formula that inserts in the item a specific answer?

  • fabcan
  • fabcan's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 1 month ago #137462 by fabcan
Hi everybody,

I don't know if is clear from the title, but what I want to say is ( I do an example is better).

Immagine to have this item: WHAT'S YOUR DOG'S NAME?
the answer: BOBBY

Now what I want is that in base of the answer (BOBBY) I have the possibility to have this name (BOBBY) in the following questions.
E.g.
Question: SO YOU SAID THAT YOUR DOG'S NAME IS BOBBY.

Could I do that?

Thank so much for your attention and help
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 1 month ago #137470 by holch
Yes, you can do that. It is generally called piping and is pretty easy with Expression Manager.
www.limesurvey.org/manual/Expression_Man...Tailoring_.2F_Piping

Let's assume the question code for your question is "dogname", then you can use {dogname} and it should give you the answer the respondent has given to the question.

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: fabcan
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose