Is there an easy way to check whether the form is edited or not (OnSave)?

I want to perform some action that depends when it (Form) is edited / updated.
I can see a * when something edited on the form but how can I can it and run my action on this * (edited).

Axelor do dirty checking and you can use validate to further validate something, I am not sure what you want to achieve

I want to change some status when edited

If you want to detect when the form become dirty *, you cannot.
Best is to perform your action in the onSave event. Use action-validate in xml.

@PHPierre thanks for the response