Hi all,
I have a simple OnChange javascript function linked to a country field, which changes another field whenever the country field is updated.
But, when I change the country field and save quickly, the other field is not updating (Meaning the javascript is not running/loading).
The below picture for more clarification of what the javascript does. It is crucial that the javascript always runs and the field is always updated.
Can I somehow ensure that the javascript always runs onChange?
Thanks
*This post is locked for comments
Have you considered using a synchronous (real-time) workflow instead of javascript?
I don't think there is any way we can delay window load. You can use plugin to achieve it
Is there any way to delay window loading until the onChange script is loaded?
Please make sure you use the same script on save event
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,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156