Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Skip logic problem

Hi,
If I have 5 single select questions and then I have a new question that I want to skip if they ever selected 1-3 or 5 in any of the 5 questions. How would I o this?

II tried with preskrip if (Topp5x1<3 Or Topp5x1>4) And (Topp5x2<3 Or Topp5x2>4) and (Topp5x3<3 Or Topp5x3>4) and (Topp5x4<3 Or Topp5x4>4) and (Topp5x5<3 Or Topp5x5>4)

where Topp5x1, Topp5x2 etc are the 5 questions.

Do you see what I'm doing wrong here?

Thank you,

Line
asked Feb 12, 2020 by Linebje (420 points)

1 Answer

0 votes
Try changing the logic to the following ...

(Topp5x1<3 Or Topp5x1>4) or (Topp5x2<3 Or Topp5x2>4) or (Topp5x3<3 Or Topp5x3>4) or (Topp5x4<3 Or Topp5x4>4) or (Topp5x5<3 Or Topp5x5>4)

I changed "And" to "or" between each question logic.

Your skip would work providing ALL questions fitted that condition, whereas my change means any of the questions fit that logic.
answered Feb 12, 2020 by Paul Moon Platinum (89,980 points)
Great, that did the trick!
Thank you :)
...