Form Validation in Power Apps — Part 2

Amit Prajapati
3 min readJun 27, 2020

In this blog, we will implement the following validation on our Sign Up Form in PowerApps:

  1. Disable Sign Up button if any invalid input is present in Form.
  2. 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

  1. 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.

--

--

Amit Prajapati
Amit Prajapati

Written by Amit Prajapati

I am Technical Consultant from Mumbai, India. I like to contribute my knowledge to the community and good social cause.

No responses yet