I'd like to use string logic in my survey but I'm not sure how. The most similar thing is piped text, but I want to deal with booleans, not just strings being passed.
For example, say one question is "Do you know how many people live in your house?" with answers "yes", "no", and "I do not live in a house".
I want a future question to either say "How many people live in your house?" or "What is the minimum number of people that you can be certain live in your house?", depending on their previous answer. I can also use display logic to remove this question if they answer "I do not live in a house", but I still don't know how to work with strings.
In a programming language, it'd be as easy as:
s = ((knows_exact_number_people)?"How many people ":"What is the minimum number of people that you can be certain ")+"live in your house?"
But I don't know how to do this in Qualtrics. Is this possible? I could make two separate questions, but that'd be ugly.
Thanks!
Best answer by NiC
View original