Hi I want to block the next button if the user input is blank. I currently have the next button trigger set up as shown in the image. The variable in the last line in of the if statement is a user input however when this field is blank the app advances to the next page
There is two approaches to this topic.
One is by trigger logic. That means, your transition must be in the else statement of your shown trigger or it must have an own if statement to check the conditions to be true.
The second approach is by the enabled state of the button.
Here you can check against an expression like so:
Or you can check against the input validity of the text input (that you must set up in the input before).
This will disable the button when the conditions are not met.
1 Like