Is it possible to record when a respondent fails the custom validation for a question? | XM Community
Skip to main content
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!
Yes, use branching logic and set embedded data in the survey flow.



Example: branch if (logic fails statement) to embedded data Logic Filed = true

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!!


Leave a Reply