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 Field code or element ID.
If the field code and element ID overlap, the field identified by the field code takes precedence.

Returns

A Promise object.
The following values can be retrieved when the Promise object is fulfilled:

Type Description
Boolean The visibility of the field
  • true: The field is visible
  • false: The field is not visible

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 Promise object will be rejected.

Limitations

  • In mobile view, the show or hide status of the Border field cannot be retrieved.