# Checkbox

**Checkbox** controls are ideal for defining binary values with a choice between one of two possible mutually exclusive options (e.g. yes/no).

**Data type**: `boolean`

### Adding a Checkbox control

1\. Edit your sheet\
2\. Click on the **Qommentary Form** extension\
3\. Expand **Input fields** section\
4\. Click on **Add input field**

![](https://3028830514-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUSRPWcyYI4YAL7ad9DIS%2Fuploads%2FtRjB9nl0T0TaqveUA7oY%2Fimage.png?alt=media\&token=74e7c44c-8362-48d7-900c-dc51a429b5c0)

5\. Select **Checkbox** from the dropdown menu

![](https://3028830514-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUSRPWcyYI4YAL7ad9DIS%2Fuploads%2FVGOLfO1evxjGZcYMsDbk%2Fimage.png?alt=media\&token=a4f9a6cd-6831-4315-a519-941ca3f9e0dc)

6\. Add a **label** to display in the form

![](https://3028830514-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUSRPWcyYI4YAL7ad9DIS%2Fuploads%2FeU32X2N8lCeS0i0hMc6P%2Fimage.png?alt=media\&token=368335d7-5049-4154-8099-bc4ff5084764)

7\. Add a **field** name

![](https://3028830514-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUSRPWcyYI4YAL7ad9DIS%2Fuploads%2FYmj68Sde7FzpbFZXijtP%2Fimage.png?alt=media\&token=a261bdde-1a5e-4531-a099-9e3f3c34e2e4)

{% hint style="danger" %}
If database is selected as data connection, then field name **must map** to destination table column name.
{% endhint %}

{% hint style="warning" %}
Field name cannot contain spaces.
{% endhint %}

8\. Click on **Done**

**Checkbox** input column can now be updated and saved.

![](https://3028830514-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUSRPWcyYI4YAL7ad9DIS%2Fuploads%2F54pvawrd3zvyD7yT4Vn2%2Fimage.png?alt=media\&token=e4f41527-076b-493b-81ad-fa8c0ea461de)
