How do I disable "Save Changes" button on Edit Page until there is an actual change on any fields?

A very specific requirement from a client. They want to "gray-out" the "Save Changes" button on the Edit Page until there are actual changes on the field. I have seen the solution to disable the button based on conditions set by me using getSaveFormAction() method, but how do I do it by detecting changes? Thank you in advance!
1 Reply
charlie
charlie3mo ago
Hi, I would look how it's done by unsavedChangesAlerts() method

Did you find this page helpful?