Field Change Event
Field Change Event - app.record.index.edit.change.(fieldcode)
An event triggered when a specified field value changes during an inline editing of a record on the record list.
Function
app.record.index.edit.change.(fieldcode)
Fields that can be Specified
- Radio button
- Drop-down
- Check box
- Multi-choice
- User selection
- Date
- Time
- Date and time
- Single-line text
- Number
Properties of the Event Object
PROPERTY | TYPE | DESCRIPTION |
---|---|---|
appId | Number | The App ID. |
record | Object | A record object including data inputted by the user at the time of the event. |
recordId | Number | The Record ID. |
changes | Object | An object including data of changed fields and rows. |
changes.field | Object | An object of the changed field. |
type | String | The event type. |
Available Event Object Actions
- Overwrite field values
- Enable/Disable field edits
- Show field errors
- Show record errors
- Get the object of the edited field
Running actions after waiting for asynchronous operations to finish
By returning a kintone.Promise
object, you can run actions after waiting for asynchronous operations to finish. Refer to the sample code for the "Save Event" event on the
Record Create page.
Limitations
- This event is only available on the Desktop, and not on the mobile.
- Events are not triggered if fields not listed in the fields that can be specified are specified.
- Refer to the Limitations section of the Event Handling page for more details.