多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.2 KiB

---
title: 'Checkbox'
description: 'This article explains how to create & work with a Checkbox field.'
tags: ['Fields', 'Field types', 'Custom types', 'Checkbox']
keywords: ['Fields', 'Field types', 'Custom types', 'Checkbox', 'Create checkbox field']
---
The checkbox field type is used to store boolean values. It can be used to store a simple yes/no value, or true/false, or any other boolean value.
## Create a checkbox field
1. Click on `+` icon to the right of `Fields header`
2. On the dropdown modal, enter the field name (Optional).
3. Select the field type as `Checkbox` from the dropdown.
4. Select icon for the field; defaults to `check` icon (Optional).
5. Select color for the field; defaults to `grey` (Optional).
6. Set default value for the field (Optional).
7. Click on `Save Field` button.
![image](/img/v2/fields/types/checkbox.png)
### Cell display
Cell displays the icon in the color selected for the field. A true value will be represented by a checked icon or a filled icon
![image](/img/v2/fields/attachment-cell-display.png)
### Supported icons
NocoDB supports the following icons for the checkbox field type.
![image](/img/v2/fields/checkbox-icon.png)
## Related fields
- [Rating](030.rating.md)