---
description: >-
  The event occurs right before a record is loaded. By returning false, the
  following load operation is canceled
---

# onRecordLoad

```javascript
   console.log("loading a record");
   if(a != b){
       return false; //cancel the load
   }
```
