Form Validation in Power Apps — Part 2
In this blog, we will implement the following validation on our Sign Up Form in PowerApps:
- Disable Sign Up button if any invalid input is present in Form.
- Change Border or Fill Color Input which is invalid.
Before moving forward please check out my previous blog because this blog is a continuation of my previous blog. Click Here
Disable Sign Up button if any invalid input is present in Form
- Select the Sign-Up button in the form.
2. Select the property DisplayMode so that we can change Display Mode to disable if any invalid input is entered on Form
3. Add the following to in DisplayMode Formula Bar
If(ErrorText.HtmlText = “”,Edit,Disabled)
It means that when Error Text is empty it will enable the submit button or else it will disable it.
Change Border or Fill Color Input which is invalid.
Now we will add function in Fill and border to input if that input is Invalid.