Hi,
i use following before save java code
this.on('beforeSave', function(formObj, fieldControlsArr, pageObj){
return confirm('Please note that once you complete the Job you cannot change it. Press CANCEL and return to list page or OK to save?');
return true;
});
which is working to cancel saving or confirm record saving .
what i need is when user click CANCEL to redirect to List page without saving the record .
thanks in advance