App: Required input fields
What is the recommended way of validating input fields when a button is clicked and before the underlying script/flow is called?
For example, I have an app with:
- several text inputs
- a button that triggers a script using the values from the text input fields
- each of the text inputs should be non-empty for the script to run correctly
I want to validate that the text inputs are non empty when a user clicks a button but BEFORE we call the script.
2 Replies