> For the complete documentation index, see [llms.txt](https://manual.blocworx.com/blocworx-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.blocworx.com/blocworx-documentation/bloc-editor/fields-tools-and-charts/input-fields/checkbox.md).

# Checkbox

The Checkbox field is a standard input field which allows you to define the checked and unchecked values. You can also choose the text beside the checkbox. \
\
There is also a unique feature in this field where you can dynamically change what the checked value would be. This feature is designed to change the purpose of the checkbox from a Yes/No to various values that may change based on the user activity.

![A standard checkbox where the checked and unchecked values are defined when building the field itself.](https://1186088597-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSr2uF2m-DtSpCxknCK-887967055%2Fuploads%2F6Zd9ZlXlS9pOTGzTSzQY%2Fimage.png?alt=media\&token=8cc9efa8-8bab-4f2e-8631-cd972d52da77)

![In this example, we are dynamically setting the value of the checked boxes to "Adrian". Below will show the data once submitted.](https://1186088597-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSr2uF2m-DtSpCxknCK-887967055%2Fuploads%2FN1peYnlgyjAYj0xZxp53%2Fimage.png?alt=media\&token=8f4c26e2-11f6-4999-b448-25f3daecc356)

![As per above, "Adrian" is considered the checked value, as opposed to looking for the values defined when building the field.](https://1186088597-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSr2uF2m-DtSpCxknCK-887967055%2Fuploads%2F9r5XzuyvDhYBXyhJqlJM%2Fimage.png?alt=media\&token=61c3ab71-7b4e-4a9e-97c1-164981962496)

### Initial Parameters

| Parameter                                     | Description                                                                                                                                       |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| Checked Value                                 | The value that gets saved when the box is ticked (default is 1)                                                                                   |
| Unchecked Value                               | The value that gets saved when the box is not ticked (default is 0)                                                                               |
| Text that will appear beside the checkbox     | The text that will appear on the right of the box. The default is the field name.                                                                 |
| Populate Checked Value with other local data. | As described above, by selecting a field here, the checked value will become the value of that selected field. The unchecked value will be blank. |
