Before record add screen save event
- Target plugins
- Event type
-
bst.create.submit - Properties of the event object
-
Property Type Description type String Event type
container DOM MAIN element
<main class="bst-injector-body"></main>record Object Record object
- Sample
-
(() => { "use strict"; bst.event.on('bst.create.submit', (event) => { console.log(event); return event; }); })();If you set the error property of the event object to true and return it, saving is canceled.