Announcements
Hello community! I wanted to ask you how you can make a field mandatory? It would be the equivalent of "Not null" in SQL, but doing it directly in Power Apps. Thanks!
Power Apps does not currently have the ability to make a field mandatory (This answer does not discuss fields in forms).
There are ways to work around this by using Visible and DisplayMode properties of other controls. What I do is add a 5 point star icon, 15 x 15 and make it red in color. Then I make its visible property dependent on if the field is empty or not (IsBlank()).
I will also set the DisplayMode property of any button that saves, submits or navigates somewhere else also based on whether the 'required' field has data.
Like this:
If( IsBlank(fieldName), DisplayMode.Disabled, DisplayMode.Edit )
@Labraham36
To add to what was mentioned by @JR-BejeweledOne , if you ARE using an EditForm for your data, then simply set the Required property of the datacard with your field to true.
I hope this is helpful for you.
Thanks a lot! With that I fix it!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 248 Super User 2026 Season 2
WarrenBelz 192 Most Valuable Professional
Mohsin Ali 135