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 / OnChange event on text...
Power Apps
Unanswered

OnChange event on textbox only fires once

(0) ShareShare
ReportReport
Posted on by 52

Hello,

 

I have a case number textbox and need to check if the case number is already exist in SharePoint list. So I used OnChange. It works the first time. If you come back to the textbox and type the same case number, OnChange wont fire anymore. Anyone has seen this behavior?

Thanks for your help.

Categories:
I have the same question (0)
  • timl Profile Picture
    36,552 Super User 2025 Season 2 on at

    Hi @lras1202 

    This is the expected behaviour of the OnChange event, because if you re-type the exact same case number into the text box, the value hasn't actually changed.

     

    Could you maybe clarify why this causes you a problem? If you check whether the case number exists when OnChange first executes and if the user re-enters the same case number, that number will already have been checked?

  • lras1202 Profile Picture
    52 on at

    Hi @timl 

    The user did get the waring message when he typed in the same case number. Then he went back to the case number field and re-typed the same case number, and it didn't give him the warning message anymore. So I put another check on Submit, if there is a duplicate case number, it won't get submitted. So if the user goes back to put in the same case number, nothing stops him submitting the duplicate case.

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

#2
Kalathiya Profile Picture

Kalathiya 321

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 311 Super User 2025 Season 2

Last 30 days Overall leaderboard