Skip logic if no answer is selected? | XM Community
Skip to main content
Solved

Skip logic if no answer is selected?


Forum|alt.badge.img+9
  • Level 2 ●●
  • 61 replies
Hi community! How do you direct non-responses to other questions? Here is the scenario: Q1 Have you had surgery to your breasts related to cancer? 00: No 01: Yes, a reduction 02: Yes, a single breast removed 03: Yes, both removed If EMPTY, go to Q15 If 00, go to End of Block If 01, go to Q2 If 02 or 03, go to Q3. If there a way to directly say "If this question is left empty, go to xxx" ? EDIT: I failed to mention I cannot use Survey Flow branching logic because respondents need to be able to back up and change their answers (project requirement form client!)

Best answer by Pete_L

I found a solution: 1. Added a default response option "WEB SKIP" 2. Added skip logic - If web skip is selected, go to... 3. In the survey CSS I applied a display:none; style to the element.
View original

6 replies

Forum|alt.badge.img+19
  • Level 5 ●●●●●
  • 543 replies
  • April 12, 2019
Yes: In your survey flow. Although it is a matter of saying if "if all answers are not selected" rather than "if question is empty" as you have stated: ! You'll have to move some stuff into separate blocks to make it work.

Forum|alt.badge.img+9
  • Author
  • Level 2 ●●
  • 61 replies
  • April 12, 2019
I'm unable to use survey flow because respondents need to be able to back up and change their answers :( Using the survey flow prevents backing up whenever logic actions happen. Client requirement.

Forum|alt.badge.img+9
  • Author
  • Level 2 ●●
  • 61 replies
  • Answer
  • April 12, 2019
I found a solution: 1. Added a default response option "WEB SKIP" 2. Added skip logic - If web skip is selected, go to... 3. In the survey CSS I applied a display:none; style to the element.

Forum|alt.badge.img+19
  • Level 5 ●●●●●
  • 543 replies
  • April 12, 2019
I like that solution; smart @Pete_L.

Forum|alt.badge.img
  • 1 reply
  • June 13, 2023

@Pete_L Hi Pete! I know this is from quite some time ago but could you please provide the code you used in step 3? 


Forum|alt.badge.img+9
  • Author
  • Level 2 ●●
  • 61 replies
  • June 16, 2023
SamL wrote:

@Pete_L Hi Pete! I know this is from quite some time ago but could you please provide the code you used in step 3? 

Sure thing!

It changes depending on the question usually, but Qualtrics is pretty consistent in the structure of their IDs. Here’s the general code that you add to the Look & Feel > Style > Custom CSS box.

.QID113-3-label {display: none;}

To find the values for QID##-#-label, you preview your survey and push F12 in Chrome or Firefox, then use the “Select Element” tool in the top left of the dev tools (looks like an arrow pointing into a box) and then click on the option you want to hide.

You’ll see the dev tools highlight a line of code and in the code you’ll see something like:
id=”QID113-3-label”


Leave a Reply