web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Not Allowing Form to S...
Power Apps
Unanswered

Not Allowing Form to Save unless required field is filled out

(1) ShareShare
ReportReport
Posted on by 557

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

Categories:
I have the same question (0)
  • Daniel Bocklandt Profile Picture
    5,099 Super User 2025 Season 2 on at

    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. 

     

  • joel914823 Profile Picture
    557 on at

    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

  • Verified answer
    Daniel Bocklandt Profile Picture
    5,099 Super User 2025 Season 2 on at

    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
    557 on at

    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)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard