Forum Discussion
AhmedGendya
2 years agoCommunity Member
What is the default value of the numeric entry box?
Hi All,
I worked a lot recently with the numeric entry boxes, and I have the following wonders and thoughts:
- The default value of the numeric entry variable is zero, according to the variabl...
JoseTansengco
2 years agoStaff
Hello Ahmed,
Thanks for reaching out!
One way to prevent states from triggering when nothing is entered in a numeric entry box is to associate a trigger with the 'when variable changes' event, similar to what is shown in this screenshot:
This will make it so that an action will only occur if a valid number is entered in a numeric entry box. I've attached a sample project file to demonstrate this behavior.
Let me know if you have any questions!