> For the complete documentation index, see [llms.txt](https://developers.make.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.make.com/custom-apps-documentation/block-elements/parameters/boolean.md).

# Boolean

## Specification

### nested

Available types:

<table><thead><tr><th width="145.6666259765625" valign="top">Type</th><th valign="top">Specification</th></tr></thead><tbody><tr><td valign="top"><strong>array</strong></td><td valign="top">Provides an array of nested parameters that are shown when the value of the parameter is true (the checkbox is checked).</td></tr><tr><td valign="top"><strong>string</strong></td><td valign="top">Provides the URL address of an RPC to load list of nested parameters.</td></tr><tr><td valign="top"><strong>object</strong></td><td valign="top">Provides a detailed specification of nested parameters.</td></tr></tbody></table>

### editable (deprecated)

* Type: `Boolean`
* Default: `false`
* If set to `true` , the user can map (or manually edit) the value of the parameter.

## Example

### Basic Boolean

A basic Boolean offers three options: `true`, `false` and `undefined`.

{% tabs %}
{% tab title="Appearance" %}

<div align="left"><figure><img src="/files/s5HV9lSbviZ66C5xkFDY" alt="" width="542"><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="Source" %}

```json
[
	{
		"type": "boolean",
		"label": "My Boolean",
		"name": "myBoolean"
	}
]
```

{% endtab %}
{% endtabs %}

### Checkbox style

You can turn the radio buttons into a checkbox by adding a `"required": true` property. Additionally, you can set the default state by setting the `default` property.

{% tabs %}
{% tab title="Appearance" %}

<div align="left"><figure><img src="/files/AmGSn5oeoV11UsSXq7KN" alt="" width="539"><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="Source" %}

```json
[
	{
		"type": "boolean",
		"label": "Enable this feature?",
		"name": "enable",
		"required": true
	},
	{
		"type": "boolean",
		"label": "Subscribe?",
		"name": "subscribe",
		"required": true,
		"default": true
	}
]
```

{% endtab %}
{% endtabs %}

### Nested parameters

By adding nested fields, you can add fields that will be shown to the user if this field’s value is `true`.

{% tabs %}
{% tab title="Appearance 1" %}

<div align="left"><figure><img src="/files/hyFls5uat7Q1WGflAKJh" alt="" width="535"><figcaption><p>Boolean set to false</p></figcaption></figure></div>
{% endtab %}

{% tab title="Appearance 2" %}

<div align="left"><figure><img src="/files/TmbIPbIJRX2nqJz2zxHV" alt="" width="541"><figcaption><p>Boolean set to true</p></figcaption></figure></div>
{% endtab %}

{% tab title="Source" %}

```json
[
 {
    "name": "myBoolean",
    "type": "boolean",
    "label": "My Boolean",
    "nested": [
        {
            "name": "nestedField1",
            "type": "text",
            "label": "Nested Field 1"
        },
        {
            "name": "nestedField2",
            "type": "text",
            "label": "Nested Field 2"
        }
    ]
  }
]
```

{% endtab %}
{% endtabs %}

### Editable (deprecated)

{% hint style="info" %}
Since **Apps platform version 2**, all Booleans have set `mappable`(editable) to `true` by default.
{% endhint %}

You can allow mapping to the field by setting `editable` to `true`.

{% tabs %}
{% tab title="Appearance" %}

<div align="left"><img src="/files/xMfQzYTaKuuwe91gn8RX" alt="" width="563"></div>
{% endtab %}

{% tab title="Source" %}

```json
[
	{
		"type": "boolean",
		"label": "Editable boolean",
		"name": "myBoolean",
		"editable": true
	}
]
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://developers.make.com/custom-apps-documentation/block-elements/parameters/boolean.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
