Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,978 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,821 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans