Announcements
I have a script running in ON LOAD event, which disable and enables certain address fields based on scenerios. In that script I am also using Setsubmitmode("always") to save the changes. But my record still displays the "unsaved" message. I checked which field is changed and not saving(screenshot below). What should i do to make the changed field save and avoid "unsave" message.
Hi Furqan Majeed,
This is because you just apply the changes at the client side and it doesn't save to the server. So please add the formContext.data.save() function at the end of your ON Load Event's JS file.
Please refer to this:
Note:
formContext.data.save() function would trigger the ON SAVE EVENT if you add.
André Arnaud de Cal...
294,165
Super User 2025 Season 1
Martin Dráb
232,968
Most Valuable Professional
nmaenpaa
101,158
Moderator