Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

Checking for Unsaved Changes/Dirty Record

MikeMeilleur
Collaborator III

Is there a way to detect if there are unsaved changes in a record (dirty record)?  I'd like to hook something up with JavaScript but wasn't sure if there was a way to do so without actually attempting to save the record.

2 REPLIES 2

DavidPetty
Archer Employee
Archer Employee

Mike, you can use the following to see if the record is dirty without first saving the record.

parent.ArcherApp.service.ArcherInterface.isDirtyContentWebForm(window._contentKey)

 Advisory Consultant

Fantastic!  Thank you, David.  I will try this out.