I have a BPF action that pulls back some variables (Process Arguments) that then set values against some form fields. This all works fine, but, it does not auto save the form so there are always "Unsaved changes" between transitions
Everything I have read points to putting and OnChange JS function call for that field in the form. The function works fine only if I manually change the values in the form or in the BPF field, but when the values are set via the action the JS function is not called and the form is still not saved.
Is there any way to get the form to save after a BPF action completes, or any other solution for the above issue?
Regards
Nick
Hi partner,
"Onchange" event of fields could only be triggered when change the value manually.
If you want to trigger the onchange function when the field value is changed by js code, you could use getAttribute().addOnchange(function(){}) method.
Hope it helps.
Best Regards,
Leo
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... 290,782 Super User 2024 Season 2
Martin Dráb 229,067 Most Valuable Professional
nmaenpaa 101,150