Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Mwgg+Wm5+FCC9Z8J6eob+1
Power Apps - Building Power Apps
Answered

Not Allowing Form to Save unless required field is filled out

Like (1) ShareShare
ReportReport
Posted on 10 Jul 2024 12:34:32 by 551

I have a form that has some required field (in this case Resolved date)  The save button submits the form fields, but I'd like for it to stop it from saving unless that required field is filled out.  The error message populates but the form still saves with the blank field.  Any thoughts or help on this would be appreciated.  Screenshot 2024-07-10 082823.png

  • joel914823 Profile Picture
    551 on 15 Jul 2024 at 14:55:42
    Re: Not Allowing Form to Save unless required field is filled out

    Thanks @DBO_DV I did something a tad bit similar and it worked, thanks for your help 

     
    If(DataCardValue2.Selected.Value= "Resolved"&&IsBlank(DataCardValue1.SelectedDate),DisplayMode.Disabled,DisplayMode.Edit)
  • Verified answer
    DBO_DV Profile Picture
    4,536 Super User 2025 Season 1 on 10 Jul 2024 at 13:39:09
    Re: Not Allowing Form to Save unless required field is filled out

    If it does not stop it like this you could add a similar function to the buttons Displaymode:

    if(DataCardValue2.Selected.Value<> "Resolved"&&IsBlank(DataCardKey1.Text),Displaymode.Disabled,Displaymode.Edit)) 

     

  • joel914823 Profile Picture
    551 on 10 Jul 2024 at 13:33:14
    Re: Not Allowing Form to Save unless required field is filled out

    Hello @DBO_DV  I have an if formula in that box, see below and that data card is based on the status drop down which is set to resolved.Screenshot 2024-07-10 093048.png

  • DBO_DV Profile Picture
    4,536 Super User 2025 Season 1 on 10 Jul 2024 at 12:38:28
    Re: Not Allowing Form to Save unless required field is filled out

    Hey @joel914823 ,

     

    Did you mark it as required inside your form?

    you can do it here: 

    DBO_DV_0-1720615047749.png

    You need to set this to true and unlock it first (Simply click on the banner in advanced properties)

    let me know if it helped. 

     

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…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,731 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,075 Most Valuable Professional

Leaderboard
Loading started