onRecordSave

The event occurs right before a record is saved. By returning false, the following save operation is canceled

   console.log("saving a record");
   if(a != b){
       return false; //cancel the save operation
   }

Last updated