Show or Hide a Field

Show or hide a field

Shows or hides a field.

Function

Desktop

kintone.app.record.setFieldShown(fieldCode, isShown)

Mobile

kintone.mobile.app.record.setFieldShown(fieldCode, isShown)

Parameters

PARAMETER VALUE REQUIRED DESCRIPTION
fieldCode String Yes The field code of the field to show or hide.
isShown Boolean Yes Set true to show the field.
Set false to hide the field.

Response

None

 

Sample Request

Available Pages

  • Record Create
  • Record Edit
  • Record Details
  • Record Print (Desktop only)

Limitations

  • This API cannot be used on apps attached to bodies of Spaces/Threads/Announcements.
  • The following fields cannot be hidden:
    • Label
    • Border
    • Blank space
    • Fields inside of a table
Was this article helpful?
0 out of 0 found this helpful
Do you have any questions or issues related to this article?
Please share your views with us in the Community forums!