Detecting whether a form is dirty

Hello,

Just wondering if there is an easy way to determine if a form is dirty since it was last submitted.

I have a requirement for a form to on a tab. The user can selects a tab other than the form tab, I want to resubmit. In the tab selection listener, i want to submit the form (via a REST datasource) if it is has been edited since it was last submitted.

Thanks again for the valuable help.

Use valuesHaveChanged.

Thanks for that!
I have to say, I’m impressed, - i really didn’t expect it would be covered!
Good work, just to mention, my experiences so far have been very positive.
Keep up the good work