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 / 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,634 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 88

#2
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 45

Last 30 days Overall leaderboard