Answered

How to create nested logic (like Qualtrics)

  • 28 December 2021
  • 1 reply
  • 92 views

Hi! I’m new to Typeform and trying to use a logic structure that I’m used to using in Qualtrics but can’t quite figure out in Typeform. 

I need to create a chain of if-then logic statements joined by ‘and’ or ‘or’ logic functions. In other words, I need to nest logic statements within logic statements.

For Example:

IF (
(answer to Q1 is X)
AND
(IF answer to Q2 is Y)
OR (answer to Q2 is Z)
)

OR

IF (
(answer to Q3 is A)
OR (answer to Q3 is B)
)

THEN (Show ending #4)

 

Could anyone explain how this is done in Typeform (or confirm that it is not possible)? Thank you!

​​

icon

Best answer by Liz 28 December 2021, 12:09

View original

1 reply

Userlevel 7
Badge +5

Hi @kaseyklimes Welcome to the community! Happy to have you here. :grinning:

I would first suggest checking out our article here on ordering logic. This should be possible, but you’ll want to be sure you’re ordering the logic correctly so that it catches the statements in the order you referenced above. 

Since we don’t exactly have an option to put in something exactly like this: 

 

IF ( (answer to Q1 is X) AND (IF answer to Q2 is Y) OR (answer to Q2 is Z) )

You would instead need to setup a logic something like this: 

Hopefully this helps get you started!

Reply