> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/projects/import-export/xlsform/choices-sheet.md).

# Choices Sheet

The choices sheet is where you define the options shown in `select_one` and `select_multiple` questions from the survey sheet. Each group of options is part of a list, identified by the `list_name` column.

## ☑️ Required columns

* list\_name – The name of the choice list (used in the survey sheet).
* name – The internal code for the choice (used in saved data and calculations).
* label – The text shown to users for each option.

## 🔘️ Optional columns

You can include the following optional columns to enhance how choices behave:

rating\
Use this column to assign a score or value to each choice. Helpful for scoring or calculations based on the selected option.

type\
Used to mark a choice as special. For example, if set to `other`, the form will allow the user to enter a custom answer when that option is selected. If left blank, the choice behaves like a normal option.

hint\
You can provide additional guidance for each choice. These hints appear as helper text next to the option. This is useful when options might need clarification.

You can also use multilingual versions like `hint::French (fr-FR)` or `hint::Spanish (es)`.

#### Example: choices with rating, choice\_type, and hint

| list\_name | name  | label | hint                       | rating | type  |
| ---------- | ----- | ----- | -------------------------- | ------ | ----- |
| feedback   | good  | Good  | Very satisfied             | 3      |       |
| feedback   | okay  | Okay  | Somewhat satisfied         | 2      |       |
| feedback   | bad   | Bad   | Not satisfied              | 1      |       |
| feedback   | other | Other | Please specify your answer |        | other |

***

## 🔗 How it connects to the survey sheet

In your survey sheet, you'd reference this list like this:

| type                 | name           | label                           |
| -------------------- | -------------- | ------------------------------- |
| select\_one feedback | user\_feedback | How would you rate our service? |

This setup will:

* Show four choices to the user.
* Use the hints to help users understand each option.
* Allow the user to enter a custom value if they select "Other".
* Allow you to use the `rating` values in calculations or analysis.


---

# 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.ngsurvey.com/projects/import-export/xlsform/choices-sheet.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.
