kintone plugin series
Record Submit Event
This page introduces events related to saving records.
Event before saving on the record addition screen
- Target Plugin
- Event
-
kb.create.submit
- Properties of the Event Object
-
Property type Description type String The event type. container DOM MAIN element.
<main class="kb-injector-body"></main>
record Object The record object.
- Sample
-
(() => { "use strict"; kb.event.on('kb.create.submit', (event) => { console.log(event); return event; }); })();
Event after successful saving on the record addition screen
- Target Plugin
- Event
-
kb.create.submit.success
- Properties of the Event Object
-
Property type Description type String The event type. container DOM Same as the container property of the "kb.create.submit" event.
record Object The record object.
- Sample
-
(() => { "use strict"; kb.event.on('kb.create.submit.success', (event) => { console.log(event); return event; }); })();
Event before saving on the record edit screen
- Target Plugin
- Event
-
kb.edit.submit
- Properties of the Event Object
-
Property type Description type String The event type. container DOM MAIN element.
<main class="kb-injector-body"></main>
record Object The record object.
- Sample
-
(() => { "use strict"; kb.event.on('kb.edit.submit', (event) => { console.log(event); return event; }); })();
Event after successful saving on the record edit screen
- Target Plugin
- Event
-
kb.edit.submit.success
- Properties of the Event Object
-
Property type Description type String The event type. container DOM Same as the container property of the "kb.edit.submit" event.
record Object The record object.
- Sample
-
(() => { "use strict"; kb.event.on('kb.edit.submit.success', (event) => { console.log(event); return event; }); })();
Event before saving on the editable list view screen
- Target Plugin
- Event
-
kb.view.submit
- Properties of the Event Object
-
Property type Description type String The event type. container DOM The table element where the data is placed.
<table class="kb-view"></table>
records Object An array of record objects stored separately for additions and updates.
Property type Description post Array Array of record objects to add.
put Array Array of record objects to update.
viewId Number The view ID. - Sample
-
(() => { "use strict"; kb.event.on('kb.view.submit', (event) => { console.log(event); return event; }); })();
Event after successful saving on the editable list view screen
- Target Plugin
- Event
-
kb.view.submit.success
- Properties of the Event Object
-
Property type Description type String The event type. container DOM The table element where the data is placed.
<table class="kb-view"></table>
records Object An array of record objects stored separately for additions and updates.
Property type Description post Array Array of record objects to add.
put Array Array of record objects to update.
viewId Number The view ID. - Sample
-
(() => { "use strict"; kb.event.on('kb.view.submit.success', (event) => { console.log(event); return event; }); })();