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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to disable Submit ...
Power Apps
Answered

How to disable Submit button if user didn't change the item record?

(0) ShareShare
ReportReport
Posted on by 21

Hello,

I have a link that lets me Edit a specific item on the list on the Power App Form

Here's a sample link:

 

image (1).png

How can I make it so that the Submit button will be disabled or not clickable if the user didn't change any information/fields on the form regarding that item?

I was thinking of using Clear Collect but not sure how and if it's the best option.

 

Regards,

Categories:
I have the same question (0)
  • SBax Profile Picture
    1,348 on at

    You could control the display mode of your button using the unsaved property

     

    This video from Shane Young explains the concept 

     

     

    Something like this should give you what you need:

    If(form1.Unsaved, DisplayMode.Edit, DisplayMode.Disabled)

     

    replace "form1" with the name of your form

  • FishInTheTank9 Profile Picture
    21 on at

    Hi Sbax,

    Not sure what might be causing this but when I'm using Form.Unsaved it's only evaluating to True by default. 

     

    Just checked i think it has something to do with the 'Record' variable i set on the OnStart property and that the defaultmode of Form is 'New' and Item propert is 'Record'.

    image (3).png

    image (2).pngDo you know what should i add or change on the Unsaved property formula with these variables present?

  • Verified answer
    FishInTheTank9 Profile Picture
    21 on at

    I fixed the problem by checking the 'Unsaved' condition more carefully. Specifically, I focused on fields with default selected properties, especially combo boxes. In my form, there was a combo box that pulls the current user from SharePoint groups. This was causing the field to update with my name whenever I edited an item. To avoid this, it's important to review the Default Selected property of the combo box and Updates property on the relevant data card if it's causing the Unsaved formula to always returning true.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 421 Most Valuable Professional

#2
11manish Profile Picture

11manish 153 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 116 Super User 2026 Season 2

Last 30 days Overall leaderboard