Is it possible to record when a respondent fails the custom validation for a question? | XM Community
Skip to main content
Solved

Is it possible to record when a respondent fails the custom validation for a question?

  • August 6, 2019
  • 2 replies
  • 214 views

Forum|alt.badge.img
Hello, I have a Yes/No question in my survey with custom validation based on the answer to a previous question. If respondents select the "wrong" choice, they receive an error message and have to select the other option. Is it possible to record when a respondent selects the "wrong" option? Thanks!

Best answer by Akdashboard

Yes, use branching logic and set embedded data in the survey flow. Example: branch if (logic fails statement) to embedded data Logic Filed = true

2 replies

Akdashboard
Level 4 ●●●●
Forum|alt.badge.img+6
  • Level 4 ●●●●
  • Answer
  • August 6, 2019
Yes, use branching logic and set embedded data in the survey flow. Example: branch if (logic fails statement) to embedded data Logic Filed = true

  • August 29, 2021

Hi! I tried doing this but the embedded data didn't track when the respondent failed the custom validation. I set it up so that:

  • First there's the custom validation question

  • Then I added branch logic to follow -- if the custom validation failed, I set a new embedded data field to = 1 (e..g, attention_1 = 1).

I think the problem might be that by the time the respondent gets to the branch, they've already had to correct the custom validation Q (because otherwise they can't continue on in the survey). How do you get around this?
Thank you so much!!