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 Apps
Answered

Duplicate entries

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Need help in restricting duplicate value entered in with combination of two input value.

Like - Input value 1 - Suresh Input value 2 - Test.

So in combination of Input value 1 & Input value 2 it should restrict user to create duplicate entry.

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    On the OnSelect of the Button:

    If(IsBlank(LookUp(YourList,ColumnName= TextInput1.Text &""&TextInput2.Text)),SubmitForm(Form1),Notify("Already Exist"))
    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Have you solved you problem?

    Do you want to avoid input same values within the two input controls?

    Could you please tell me if you use a Form to save input values?

    Please set the OnChange property of the second Text Input as below:

    If(TextInput18.Text=TextInput17.Text,Notify("Please do not input same value!",NotificationType.Error) && Reset(TextInput17))

    Note that TextInput18 represents the first input control, TextInput17 represents the second input control.

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

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard