Answered

Send to different end pages based on variables

  • 6 April 2022
  • 4 replies
  • 93 views

Userlevel 1

@john.desborough I’ve added the variables and logic based on an answer of yours to a question a year ago: 

  • v_cat1_vs_cat2 and the logic rules would be something like this 
    • if cat1 (ie gut) is gt 0 add cat1 to v_cat1_vs_cat2
    • if cat2 (ie immunity) is gt 0 subtract cat2 from v_cat1_vs_cat2
    • then if the value of the “..vs..” gt 0 add 1 to the cat1_is_biggest variable
    • if the value of the vs variable is lt 0 add 1 to the cat2_is_biggest variable
  • repeat for all combinations.. 

Now that I have which of the categories is highest, though, as you say, there are some that are tied, how do you now send them to specific ending pages?

I would so appreciate your help with this. Many thanks in advance. 

Anno

icon

Best answer by john.desborough 6 April 2022, 20:02

View original

4 replies

Userlevel 7
Badge +6

@anno - i will keep it simple and use a,b, c for the variable strings to make it easier and faster to type

  • if (biggest is) a then jumpto ending a
  • if (biggest)is) b then jumpto ending b
  • if (biggest is) c then jumpto ending c

or if you use ‘yes’ to define the value of the biggest

  • if a = yes then jumpto ending a
  • if b = yes then jumpto ending b.. 

des

 

Userlevel 1

@john.desborough Ah, yes, of course!! Thanks so much, John, for pointing me in the right direction. It works!! Thank you for taking the time to help out. All the best Anno

Userlevel 7
Badge +6

@anno - good to hear!!

Userlevel 7
Badge +5

Hey @anno! Don't forget to share your form with us so we can take a look and give you some feedback! Wishing you a great week! 😉

Reply