Toggle Field Visibility
Toggle Field Visibility
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. |
Returns
Nothing
Sample Request
|
|
Available Pages
- Record Create
- Record Edit
- Record Details
- Record Print (Desktop only)
Limitations
- The following fields cannot be hidden:
- Label
- Border
- Blank space