Logic Jump Rule to Compare Variables for Multiple Ending Options (If A > B) | Community
Skip to main content
Question

Logic Jump Rule to Compare Variables for Multiple Ending Options (If A > B)

  • December 3, 2024
  • 4 replies
  • 70 views

Hi there! I have created a personality test on Typeform. I have added score values to each answer for each of the 50 questions. Now I'm trying to set up my results pages so that the user is taken to the appropriate ending depending on the scores received for 5 variables. The variable that scores the highest has its own end page. But I am unsure how to set this up. For example: IF VC_score > EC_score AND VC_score > AS_score AND VC_score > RD_score AND VC_score > SG_score THEN jump to VC Results Page. The next 4 endings would be similar formulas, just replacing the initial variable until I have a results page (ending) for EC, AS, VC, and RD.

Any advice is very appreciated!  

Shannon :)

4 replies

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

Tagging ​@john.desborough in case he has any advice or cheat sheets to help build this!


  • Author
  • Explorer
  • 1 reply
  • December 4, 2024

Thank you!! :)


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

@shannymac - don’t thank anyone yet lol.. 

there are a couple of things to keep in mind, are there always going to be unique scores where one variable is always going to be highest OR do you have to deal with tie breaking?

There is no native way to compare variables in typeform so in order to do this, the logic rules get a little cumbersome. the good news is that, as ​@Liz mentioned, i have created a couple of different cheat sheets that might help. you can find them at this link

there are also several posts here in the Community where i detail out the process, but the cheat sheets will give you a more fulsome description. 

 

cheers

 

des


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

Thanks, ​@john.desborough . Let us know if you give any of these suggestions a try, ​@shannymac !


Reply