# Yes/No&#x20;

<figure><img src="/files/wg1ZG5Zwu1PVPZakodZE" alt=""><figcaption></figcaption></figure>

Yes/no questions are a quick way to add a binary question type to your form. The value types of these questions are stored as the boolean `true` or `false` data type.

```
{
  "Am I a yes/no question?": true
}
```

### Customizing the question <a href="#changing-the-labels" id="changing-the-labels"></a>

A boolean question may use any of the [styles of the select question](/adding-questions-and-content/question-reference/select.md#styling-choices), but defaults to displaying as buttons.

<figure><img src="/files/x3NHeBcHfiX5MuL6vb9S" alt=""><figcaption></figcaption></figure>

Yes/no questions only have two choices, but the "yes" and "no" labels of the choices can be changed in the choices tab.&#x20;

The boolean true/false values of the choices cannot be changed.

<figure><img src="/files/X4ZrPbzTO0ksqwwAx0jn" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you'd like to have more than two choices mapped to true or false, use a [select](/adding-questions-and-content/question-reference/select.md) question and change *Choice value type* to boolean.

Similarly, use a select question if you need an alternative value type to Boolean returned altogether.
{% endhint %}


---

# 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://docs.formsort.com/adding-questions-and-content/question-reference/yes-no.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.
