GlennJones1
10 years agoCommunity Member
If....Then.....Else
Is it possible to add an If...Then...Else statement to a trigger/button?
Or do I need to add two different triggers to a button and play around with variables?
Is it possible to add an If...Then...Else statement to a trigger/button?
Or do I need to add two different triggers to a button and play around with variables?
You need min. two triggers to complete an If-Then-Else operation.
Ok, thanks. That's what I thought :)
Glad that Michael was able to assist you here Glenn :)
Is if-then-else functionality something that might be added in the future? Some things I'm working on would be greatly simplified if it were available! I used this functionality frequently in Lectora.
Hi James!
We do not release product details or roadmaps, but you are welcome to share your thoughts with our product development team here.
Hello,
I also need this feature because I can't do what I want with several triggers.
Let's say I have two triggers:
"Change the state of X to state1 if the state of X is state2"
and
"Change state of X to state2 if state of X is state1".
Well, if I don't use if/else, it doesn't work since the second trigger will overwrite the first one.
Variables are not something I want to use in this case for other reasons (the main one being that a variable is global to the project).