Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Not Allowing Form to Save unless required field is filled out

(1) ShareShare
ReportReport
Posted on 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 at
    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,534 Super User 2025 Season 1 on at
    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 at
    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,534 Super User 2025 Season 1 on at
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 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,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard