Check Field Visibility
Check Field Visibility - kintone.app.record.isFieldVisible()
Checks if a field is visible.
Function
Desktop
kintone.app.record.isFieldVisible(fieldCode)
Mobile
kintone.mobile.app.record.isFieldVisible(fieldCode)
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| fieldCode | String | Yes | The field code of the field to retrieve. |
Returns
A Promise object.
The following values can be retrieved when the Promise object is fulfilled:
| Type | Description |
|---|---|
| Boolean | The visibility of the field
|
Available Pages
- Record Details
- Record Create
- Record Edit
Notes
- If a field within a group field is specified, the result is returned regardless of whether the group field is open or closed.
- If a field without viewing permissions is specified, the returned
Promiseobject will be rejected.
Limitations
- The following fields cannot be retrieved:
- Label
- Border
- Space