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 / Validation when form i...
Power Apps
Answered

Validation when form is saved.

(0) ShareShare
ReportReport
Posted on by 19

Hello, Expert need some help, I have a SharePoint list (called A) which is connected to a power app. When a new Item is added to the list I would like to check the existing value from one of the text box called DataCardValue7 and if the value is present in another SharePoint List (called B). If yes then I need to change the value to "Match Found"

 

This is what I have so far, not sure if this is correct. 

 

If(LookUp('B','Title'=DataCardValue7.Text, true),DataCardValue7.Text='Match Found');SubmitForm(SharePointForm1)

 

Also, the text in red is being rejected as an error. 

Categories:
I have the same question (0)
  • Verified answer
    mmsam_2018 Profile Picture
    19 on at

    I got this working using information shared here 

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Giving-a-value-to-a-datacard-or-label/m-p/1205968

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 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard