> For the complete documentation index, see [llms.txt](https://docs.formsort.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.formsort.com/adding-questions-and-content/question-reference/grid-choice.md).

# Grid choice

Ask multiple questions with the same set of choices

A **grid question**, sometimes referred to as a *matrix* question, is used to select multiple values, each with the same set of choices.

Grid questions are most commonly used when multiple answers are collected on the same scale.

![An example grid question](https://1036686854-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJPnL__mOdr_mLZ8nwf%2F-MKaw0AH5fqElxG2Jwqt%2F-MKazpg-hcJV5_sL0nq1%2Fimage.png?alt=media\&token=481a8666-0abf-49c3-b6f6-43829630f4f5)

If you are asking for a single choice, use a [select](/adding-questions-and-content/question-reference/select.md) question instead.

## Specifying choices

Similar to the select question, you can specify choices for a grid question under **SETTINGS**. There you may also specify the type of the value, whether number, string, or boolean.

The choices will be shown as options for each of the sub-questions that you define, displayed as individual columns.

#### Allow multiple selection

When **allow multiple selection** is checked a user will be allowed to provide multiple answers for every row.

### Sub-questions

To define the rows of the grid, specify the questions to ask in **SUB-QUESTIONS**. These can be [conditional](/conditions-and-logic.md) on previous answer values.

Each of the sub-questions will have its own [answer variable name](/response-data-collection-and-management/variable-schema.md#naming-answer-variables), and will otherwise behave the same as if the question were asked separately.

## Style

The grid question uses the radio or check selection from [checkmarks](/styling/customizing-appearance/checkmarks.md) in the style editor.

In order to further customize the grid question, you can use the [Table](/styling/customizing-appearance/tables.md) tab in the style editor.&#x20;


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.formsort.com/adding-questions-and-content/question-reference/grid-choice.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
