Terminate if selected alone | XM Community
Skip to main content
Solved

Terminate if selected alone

  • September 12, 2023
  • 9 replies
  • 254 views

Forum|alt.badge.img+3

How can I make this logic work?

 

In multiple choice question, if you select "Other" as the sole choice, the survey will be terminated.
But, if you choose "Other" in combination with any other option, you can proceed with the survey.

 

 

Best answer by Abhishek_U

@hachiware10: Just close the block before applying the branch logic and add End of survey after that logic. Move remaining survey questions in new block and it will work.

 

SS for your reference:

 

9 replies

Rishabh_Singh05
QPN Level 2 ●●
Forum|alt.badge.img+9
  • QPN Level 2 ●●
  • September 12, 2023

You can ideally use a branch logic which will check for the condition, if Other is selected and each of the else is not selected in a condition group. If the condition is true put an end of survey element to end the survey. You can do so by using condition groups, create two condition groups in and. in first you need to check if other is selected and in the second one check if all other options were not selected.


Abhishek_U
Forum|alt.badge.img+2
  • September 12, 2023

you can achieve this logic using the Skip Logic feature based on the responses to your multiple choice question.

Go to the Survey Flow section and add a new Branch element. 

In the branch, set the condition to check if the response to your multiple-choice question is Other and if no other options are selected. 

If Other is selected as the sole choice, you can add a "Termination" element to end the survey or if Other is selected in combination with any other option, simply connect the flow to the next question or survey section.

This will ensure that if a respondent selects Other as the sole choice, the survey will be terminated, but if Other is chosen along with any other option, the survey will continue.


Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • September 12, 2023

I tried like this and branched “End of survey” after this, but it terminated even when I selected some options with “others”. Am I doing it wrong?😢 @Rishabh_Singh05 @Abhishek_U 


Forum|alt.badge.img+28
  • Level 4 ●●●●
  • September 12, 2023

How can I make this logic work?

 

In multiple choice question, if you select "Other" as the sole choice, the survey will be terminated.
But, if you choose "Other" in combination with any other option, you can proceed with the survey.

 

 

@hachiware10 Please use the branch logic in the survey flow as per below SS. Hope this will help!

 


Forum|alt.badge.img+28
  • Level 4 ●●●●
  • September 12, 2023

I tried like this and branched “End of survey” after this, but it terminated even when I selected some options with “others”. Am I doing it wrong?😢 @Rishabh_Singh05 @Abhishek_U 

@hachiware10 Please try to use the branch logic as I have mentioned in this thread and let me know if this resolve your query.


Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • September 12, 2023

@Shobhit Thank you so much for helping me!

I set like this, but it still terminates when I select other options with the “Other” option.😅

 


Abhishek_U
Forum|alt.badge.img+2
  • Answer
  • September 12, 2023

@hachiware10: Just close the block before applying the branch logic and add End of survey after that logic. Move remaining survey questions in new block and it will work.

 

SS for your reference:

 


Forum|alt.badge.img+12
  • QPN Level 3 ●●●
  • September 12, 2023

last solution that was provided by Abhishek_U should work fine.


Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • September 13, 2023

@Abhishek_U 

It worked! Thank you so much😊