Compares current record object to original and returns difference.
getChanges()
Returns object.

#### Description

This method compares .record with .original and returns the diff object.
If you have following form: $('#form').w2form({ name : 'form', recid : 10, url : '/server/form/path', formURL : '/server/path', fields: [ { name: 'first_name', type: 'text', required: true }, { name: 'last_name', type: 'text', required: true }, { name: 'email', type: 'email' } ], actions: { "save": function (target, data) { this.validate(); }, "reset": function (target, data) { this.clear(); } } }); You can do: var changes = w2ui['form'].getChanges(); console.log(changes);