Hi,
Does the onchange JS function triggers when you update the field through a plugin ? If not, how to achieve this ? Thanks !!
Hi,
Does the onchange JS function triggers when you update the field through a plugin ? If not, how to achieve this ? Thanks !!
Thanks it worked..
Hi,
Could you please share what is your exact business scenario? when and in which event you are triggering the plugin? and when you want to fire the onchagne method?
Onchange event trigger in client side but plugin execute server side , onchange method wont be trigger if you update fields using plugin. For that you may need to execute some client side code and retrieve the data using API to check whether data has changes or not and based on that trigger onchange method. In addition my personal suggestion is to write all the logic in the plugin code if there is no dependency at client. You can also now trigger business rules with scope entity if your requirement matches with Business Rules.
Hi,
It should work. Implement the plugin, with the updates on the fields you want. And create a Javascript function with the trigger on the "OnChange" event.
Regards,
Joana
What exactly are you trying to achieve? Could you let us know your business scenario?
Hi,
Does the onchange JS function triggers when you update the field through a plugin ? If not, how to achieve this ? Thanks !!
What exactly are you trying to achieve? Could you let us know your business scenario?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156