Custom validation using piped answers | XM Community
Skip to main content

Hi everyone,

 

I have one multiple-choice question, and the next one is a side-by-side with statements as piped choices from the last question. This side-by-side question is three columns with text entry.

Now, I want to add validation that for each statement, you cannot input “0” in any of the columns’ answer.

But, the validation prevents users that have not chosen all the statements in the previous question from progressing with the survey - help!

You can do it, but it is cumbersome.  For each text entry you need four conditions:

if statement selected in previous question

and text entry is not equal 0

or statement not selected in previous question

and text entry is empty

Add a logic set for each text entry and AND them all together.


You can do it, but it is cumbersome.  For each text entry you need four conditions:

if statement selected in previous question

and text entry is not equal 0

or statement not selected in previous question

and text entry is empty

Add a logic set for each text entry and AND them all together.

I see, I missed the “or” statement, thank you!


Leave a Reply