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 on the following article:
Save Event
Limitations
- This event is only available on the Desktop, and not on the mobile.
- Events are not triggered for fields are not listed in the following section:
Fields that can be specified - Refer to the Limitations section of the following article:
Event Handling