Notifications
Announcements
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.
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?
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 386 Most Valuable Professional
Kalathiya 321
MS.Ragavendar 311 Super User 2025 Season 2