Hi all
I have registered on change event on a field and I am updating that field using the plugin, but the onchange event is not triggering even when the field is updated.
Can anyone help me with this?
I am refreshing the form using onchange event because the update in the plugin doesn't call refresh event.
when you save the form, your plugin is triggered and after save the form reloads. Are you updating this field from another form.
In order for the OnChange event to trigger, the field should know something changed else it will not trigger.
You can shift the onChange logic to the plugin code.
Best Regards
PG
Hi Pankaj,
Thanks for your response.
I need to call the onchange event without refreshing the form when the field is updated through the plugin.
Hi,
The onChange event usually occurs when the data in a form field has changed and focus is lost. This event also occurs when data changes on the server are retrieved to update a field when the form is refreshed, such as after a record is saved.
When the plugin is triggered? Once the form is saved and refreshes, the field value will be changed which should trigger the onChange. You can try using the fireOnchange,
Best Regards,
PG
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,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156