How to make it if they answer question X, then question Y becomes mandatory. | XM Community
Skip to main content
Question

How to make it if they answer question X, then question Y becomes mandatory.


Forum|alt.badge.img+1

I am trying to make it where if the person taking the survey answers question 6 (which is an optional multiple choice question), then question 7 becomes mandatory to answer (text entry question). I do not want to just make question 7 a forced response. I have tried a few different times at validations, with no luck. If anyone knows how to do this, your help would be greatly appreciated. 

5 replies

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • 2028 replies
  • April 19, 2024

You could have two versions of Q7 on the same page. One forced response, the other optional.

In case an individual answers Q6, show forced response Q7. In case one doesn’t, show the other.

Since only one will be answered, you can collapse the responses to one field, in either the survey flow or field editor.


MatthewM
Level 6 ●●●●●●
Forum|alt.badge.img+30
  • Level 6 ●●●●●●
  • 1069 replies
  • April 19, 2024

You might try setting up custom validation like this.

 

Sample questions
Custom Validation

 


Forum|alt.badge.img+1
  • Author
  • 1 reply
  • April 19, 2024

Could you show an example of how to do that? I am struggling to follow along? Would I make a 2nd question 7? 


Forum|alt.badge.img+16
JackP wrote:

Could you show an example of how to do that? I am struggling to follow along? Would I make a 2nd question 7? 

Hi @JackP ,

 

You might want to @ the individual when you respond. This will allow others to know who you are referring to.

 

More information on Matthew’s reply: Response Requirements & Validation (qualtrics.com)


MatthewM
Level 6 ●●●●●●
Forum|alt.badge.img+30
  • Level 6 ●●●●●●
  • 1069 replies
  • April 22, 2024
JackP wrote:

Could you show an example of how to do that? I am struggling to follow along? Would I make a 2nd question 7? 

Hi @JackP. The first screen shot shows a simplified demo of the two questions: Q6 and Q7. 

If you’re not familiar with how to set up Custom Validation, see the link that @Chee Heng_SZ shared; also, refer to the screen shot below for a visual on how to access Custom Validation in your question.

 


Leave a Reply