this will call the validator functions
handler: function(button) {
var valid = button.up('window').down('form').getForm().isValid();
if(valid) {
...
}
}
EDIT:
Or you move the save button into the form buttons
config and add the option formBind: true
to the button. this will disable the button as long as the form is invalid.