Forum Discussion
KoryTrosclair-5
5 years agoCommunity Member
Getting If Then to work with Text AND Number Variables
Hello!
I am trying to get a trigger to recognize when a text entry = 'blank' OR y number = 0 OR z number = 0. There is one text variable and two number variables. Oddly, whenever text is entered i...
MariaCS
5 years agoStaff
Hi, Kory.
Thank you for sharing the screenshot and the details!
I attempted to reproduce your scenario, but it's working as expected on my end. Here's my setup:
- One text entry field
- Two Numeric entry fields (WeightEntry and ValueEntry) with a default value of 0
- One button
- A rectangle with an initial state set to Hidden
I set up a trigger to change the state of the rectangle to Normal when the user clicks the button if the textEntry is blank OR ValueEntry is blank OR WeightEntry is blank:

Here is the result:

If you can share your .story file, I'm happy to take a look!
Related Content
- 12 months ago
- 10 months ago
- 11 months ago
- 11 months ago