How can I add dynamic questions based on user selections without pre-generating all of them? | XM Community
Skip to main content
Solved

How can I add dynamic questions based on user selections without pre-generating all of them?

  • June 29, 2021
  • 4 replies
  • 572 views

Forum|alt.badge.img

I have a multiple choice question, and then I want to ask the respondent further questions about each option they selected.
Is the only way to pre-generate a large number of blocks, one for each possible answer and use conditional logic? That actually won't work because some options allow freeform text entry...
I've seen the carry forward feature, but that seems to only generate a list of answers for a single question, not new questions per selected choice.

Best answer by MatthewM

You should be able to use Loop & Merge for this.

4 replies

grahulp5
QPN Level 3 ●●●
Forum|alt.badge.img+13
  • QPN Level 3 ●●●
  • June 29, 2021

Use the base logic for each selected options and in case of text entry you can use logic as not empty and displayed. You can also use in display logic, but here you cannot use page breaks.


Forum|alt.badge.img
  • Author
  • June 29, 2021

My question isn't about how to use display logic to toggle blocks, I know how to do that. I was asking how I can generate the blocks/questions so that a) I don't need to repetitively create dozens of identical blocks that are only different by 1 word, and b) so that the questions pertaining to any freeform entry options actually display the option entered.
For example (not my actual use case, but similar enough), assume you have a multiple choice list of applications the recipient is asked about whether they use. For each of those that they checked as apps they use, you want to ask them how long they've been using it for, and how often.


MatthewM
Level 6 ●●●●●●
Forum|alt.badge.img+30
  • Level 6 ●●●●●●
  • Answer
  • June 29, 2021

You should be able to use Loop & Merge for this.


Forum|alt.badge.img
  • Author
  • June 30, 2021

https://community.qualtrics.com/XMcommunity/discussion/comment/38731#Comment_38731OMG thank you so much!! This looks like exactly what I need!!