Show question if another question has been answered, irrespective of the answer | XM Community
Skip to main content
Solved

Show question if another question has been answered, irrespective of the answer


Forum|alt.badge.img

I want to show a question if another, optional, question has been answered. It doesn't matter what answer they gave to that other question.
At the moment I can only see how to show a question if a particular answer to the other question was given. In theory I could enter a condition into the display logic for every possible answer. However, in my case the other question is a matrix table so that's an awful lot of conditions.
Is there a way to do this? If not, please can we move this post into the Product Ideas section?
Thanks!

Best answer by CarolK

If it's a matrix question that you are using as the basis of the display logic, then use the (recode) items so that you don't have to select every option.
So, say you have five scale points (recode values 1 2 3 4 5) and three statements in your matrix, you could use (statement1 recode greater than zero or statement2 recode greater than zero or statement3 recode greater than 0 (this is also how you might do it if your only requirement is, for example, that they answered Statement2 - you would use statement 2 recode greater than 0
Note that if all you need is that they answered ANY of the matrix (which is unusual, but I suppose possible),and you have more statements than scale points, then you could use the scale point recodes instead. whichever is fewer to set up, basically.

View original

2 replies

CarolK
Level 5 ●●●●●
Forum|alt.badge.img+42
  • Level 5 ●●●●●
  • 406 replies
  • Answer
  • May 17, 2022

If it's a matrix question that you are using as the basis of the display logic, then use the (recode) items so that you don't have to select every option.
So, say you have five scale points (recode values 1 2 3 4 5) and three statements in your matrix, you could use (statement1 recode greater than zero or statement2 recode greater than zero or statement3 recode greater than 0 (this is also how you might do it if your only requirement is, for example, that they answered Statement2 - you would use statement 2 recode greater than 0
Note that if all you need is that they answered ANY of the matrix (which is unusual, but I suppose possible),and you have more statements than scale points, then you could use the scale point recodes instead. whichever is fewer to set up, basically.


Forum|alt.badge.img

Ah, that does make it a lot simpler, thank you. 6 conditions is better than 42!


Leave a Reply