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 / ​Display a warning mes...
Power Apps
Unanswered

​Display a warning message that a value has been changed in a form field

(0) ShareShare
ReportReport
Posted on by 18
Hello everyone, I'm trying to get a form in which I'm getting values ​​from a Sharepoint list called General Information in a certain field that is the No_Id, if the user decides to change it when submitting the form again a warning message appears that this value was modified but I'm also trying to make sure that if this value already exists in that list, it doesn't allow the form to be submitted and also shows a message that this value exists, how can I do that? At the moment the only formula I have in the field in the OnChange part is the following:
 
If(Value(DataCardValue2.Text) <> ThisItem.No_Id, Notify("The value has changed", Notification.Type.Information)))
 
Categories:
  • ronaldwalcott Profile Picture
    3,914 Moderator on at
    You can do something like
     
    Lookup the value in the list and set a variable visibleSubmit to false if it exists and true if it doesn't. Show a notification message and set the visible property of the Submit button to visibleSubmit. On visible of the screen set visibleSubmit to true.
    Or you can just disable the button instead of making it invisible
    Or for the notification you could popup a message hidden in a container by making it visible 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard