Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

On Change Event does not trigger on the column/field if the column gets set the value by another script

(1) ShareShare
ReportReport
Posted on by 210

I have the web resources ( HTML + Script 1)  which used for search Addresses in Australia and the retrieved value/chosen value will be autocomplete and set to the fields as below. This web resources was developed by the previous vendor.

pastedimage1642234473478v1.png

Now I build another webresource (Script 2)  and build a function called OnChange_Address1 State/Province which gets trigger on change of the Address 1 State/ Province. It perfectly trigger/fire if I manually go and update the Address 1 State/Province

But If the user search for the address and Script 1 populate the changed value to Address 1: State/Province, The Script 2's function OnChange_Address1 State/Province does not get trigger.

I was able to solve this issue by modifying the Script 1 and add the fireOnChange Method to the attribute. which I do not want to modify anything in Script 1 as it developed by previous Vendor. 

Kindly, If there is any solution to trigger Address1: State /Province column when user search get populate to the field without modifying the Script 1 and add some code in Script 2 ?

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans