# 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.](/files/eac99nW1qoZntuSbB8p1)

![In this example, we are dynamically setting the value of the checked boxes to "Adrian". Below will show the data once submitted.](/files/Ts7CuOVys3Opu4UyhxmJ)

![As per above, "Adrian" is considered the checked value, as opposed to looking for the values defined when building the field.](/files/P4q6tVBFjHqAJsp8qLPb)

### 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. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.blocworx.com/blocworx-documentation/bloc-editor/fields-tools-and-charts/input-fields/checkbox.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
