Multiple if/else conditions on one interaction?


#1

I’d like to do two different things based on two separate variable s on page load.

Right now, it looks like if I do this:

if variable 1=true then…
else if variable 1=false then…
else if variable 2=true then…
else if variable 2=false then…

And I pass in variable 1 value, it will never evaluate variable 2.

Is there a way to split that into two separate else statements?:

if variable 1=true then…
else if variable 1=false then…

if variable 2=true then…
else if variable 2=false then…


#2

image

Will be

image