Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    valuesHaveChanged ()

    Can I use this method to catch any data change before saving data? If yes, how do I use it?

    Thanks

    #2
    Yes, you can use this.
    Call editRecord(), or setValues() on the form to start editing a record.
    Calling valuesHaveChanged() on the edit form at any time after this will return true if the values have changed since editRecord() / setValues() was called, false otherwise.

    So if this method returned false, for example, you could avoid calling your method to save the form's data.

    Comment

    Working...
    X