Form widget "Save changes" popup - Save doesn't work, where is the code?

davilu
Mega Sage

Our team is using the Form widget on our portal and noticed that when a user fills out an input, and without saving, clicks back or another link, this popup shows up asking if the user would like to save changes before leaving the page:

find_real_file.png

The issue is, that Save button doesn't actually save the changes and we can't find where that code exists.  Are we missing a configuration step in order for that Save button to actually save the record?  Or is there somewhere we need to code that in?  Where can we access the code behind this popup?

Thanks!

2 REPLIES 2

Rogers Cadenhe1
Giga Guru

That popup isn't happening because of code in the form widget. It's coming from the ServiceNow platform and appears when any form is exited with unsaved changes in one or more fields. You can't access or modify that code.

Test your page and see whether it saves changes correctly sometimes and fails other times.

Sometimes the cause of Save not saving changes is that the user's session has timed out (and they've been logged out) before they clicked Save.

David Speirs
Tera Contributor

Having the same issue and it is not because the user is timed out. It's very annoying and we can't even get the pop up to just not show.