Skip to main content

Notifications

Community site session details

Community site session details

Session Id : muTe7km4VsRNW9JsRy+Jf2
Power Apps - Building Power Apps
Unanswered

Required Fields in Forms

Like (0) ShareShare
ReportReport
Posted on 25 Jul 2023 05:54:59 by 2

I have a form with 15-20 fields divided into different tabs. All fields are mandatory. I have set the 'Required' property of the data cards to true (I have not set the Sharepoint list data source columns to required), but no error is shown in case required fields are not filled in. According to my understanding, setting the required property of the data cards to 'true' should be sufficient to trigger an error when the Submit button is clicked and the field has not been filled in. How do I show an error for the specific mandatory field which has not been filled in, only when the Submit button is clicked?

  • EddieE Profile Picture
    4,641 Super User 2025 Season 1 on 25 Jul 2023 at 06:15:51
    Re: Required Fields in Forms

    @ChristinaT05 

    The way I've done this in the past is to use visual cues in my form.

     

    For example, I have a form that only has a 2 required fields. I then setup 2 visual cues for users, ie

    - I make the borders of these 2 fields RED if the TextInput, DropDown, Combo is empty

    - I use a 'Check' icon for submitting the form, but if any of these fields are empty this icon is set to the 'Help' icon, also in RED, with some supporting RED text underneath it eg "Some fields need to be completed before saving."

     

    Once all the required fields have data, the borders change color and the icon changes to 'Check'.

     

    It's a bit of work to setup but works well.

     

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.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 78 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 49

#3
mmbr1606 Profile Picture

mmbr1606 41 Super User 2025 Season 1

Overall leaderboard
Loading started