Nested Logic - 1 "and" with 2 "or" Statements | Community
Skip to main content
Question

Nested Logic - 1 "and" with 2 "or" Statements


For some reason, if I select C or A for Q2, it’s not jumping to where I selected, it just goes to the very next question. If I select B though, it works fine. How can I make it so that (3 = D) AND (2 = A OR B OR C) jumps?

2 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15018 replies
  • October 7, 2024

@Darcy Thanks for sharing the screenshot! Very helpful. Most likely, this is an issue with the ordering of the logic. @john.desborough might have some suggestions for you!


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5307 replies
  • October 7, 2024

@Darcy - my basic rule of thumb is NOT to combine the boolean functions in a logic rule.. if we could be like the old days in math class and show where we want the brackets around the logic, it might work BUT in the meantime, you are better served to write each ‘condition’ as a separate logic rule - something like this: 

  • if q3 = D and q2 = A go to pageX
  • if q3 = D and q2 = B go to pageX
  • etc

i know this is more work to create the logic rules - do the most restrictive ones first - but it will make it easier to manage and to troubleshoot any logic issues. 

@Liz - not rocket science but …

 

des


Reply