there are multiple text input boxes and multiple buttons on a screen for a Calculator app.
Using the “Any Component” block how can I check that whenever a button is clicked all the text_input boxes are non-empty and numbers(not text)
1 Like
Welcome to Thunkable.
If you add 0 to the content of the Input Text
you will get a NaN error if the text content is not a number. You could make use of this condition to validate the content as numbers.
1 Like
Is there a reason you’re using text input instead of static button text (0-9, +, -, etc.) for your calculator entry?
1 Like
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.