# Dropdown

**Dropdown** controls are one of the most popular controls used to select a single value from a list of options. They are often used to set a status, tag records with specific labels or simply pick one value from multiple options.

Dropdowns can be custom (user-driven options) or countries (pre-set list of countries with flags).

**Data type**: `string`

### Adding a Dropdown control

1\. Edit your sheet\
2\. Click on the **Qommentary Form** extension\
3\. Expand **Input fields** section\
4\. Click on **Add input field**

![](/files/54CDbNiJH2Wqah2DPJ99)

5\. Select **Dropdown** from the dropdown menu

![](/files/4NgT9iYRzVn9PUY0pxVY)

6\. Add a **label** to display in the form

![](/files/jxLDd73qL4H4d2leKHNb)

7\. Add a **field** name

![](/files/kAJVQmbKZnUGIeRt0ijU)

{% hint style="danger" %}
If database is selected as data connection, then field name **must map** to destination table column name.
{% endhint %}

{% hint style="warning" %}
Field name cannot contain spaces.
{% endhint %}

8\. Click on **Done**

**Dropdown** input column can now be updated and saved.

![](/files/Oyp8vW6Ys9yIzFii8MwI)

### Custom dropdowns

If you wish to create dropdowns with custom values, please please follow these steps:

1\. Edit your sheet and select the Qommentary Form extension\
3\. Expand the *Input fields* section and **Dropdown** input control\
4\. Scroll down to *Dropdown Type* and select **Custom** from the dropdown menu

![](/files/XYbYH2yrBhOGW4uv95Wa)

5\. Click on **Add option**

<div align="left"><img src="/files/-MZBherR_nCCxnrQCuW5" alt=""></div>

6\. Enter an option **Name**

<div align="left"><img src="/files/-MZBilGHheGwXYdbtmyr" alt=""></div>

7\. Repeat steps 5 and 6 as many times as needed

{% hint style="success" %}
The custom options are now displayed in the dropdown column
{% endhint %}

![](/files/bmZHbsFDxUJAgbDzRrJY)

### Dimension dropdowns

If you wish to use a field or dimension as the source for your dimension values, please follow these steps:

1\. Edit your sheet and select the Qommentary Form extension\
2\. Expand the *Input fields* section and **Dropdown** input control\
3\. Scroll down to *Dropdown Type* and select **Dimension** from the dropdown menu

![](/files/swhEIFf9gcPmxUbmRRce)

4\. Update the expression with the field name you would like to use

![](/files/DVpWfsaSClwKW28Wg068)

{% hint style="success" %}
The field dimension values are now displayed in the dropdown column
{% endhint %}

### ![](/files/5yBYzOWDt6rws9KIO0wx)

### Country dropdowns

The Dropdown control includes a curated list of countries with corresponding flags which you can use out of the box in your writeback table.

To create a countries dropdown, please follow these steps:

1\. Edit your sheet and select the **Qommentary Form** extension\
3\. Expand the *Input fields* section and **Dropdown** input control\
4\. Select **Countries** from the dropdown menu

![](/files/s1rcLyNk8EAF9LLJH0Bz)

{% hint style="success" %}
A full list of countries with flags are now displayed in the dropdown column
{% endhint %}

![](/files/ghv8WGIeOIDtYgTAGFL5)


---

# 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://knowledgebase.qommentary.com/qommentary-form/custom-data/adding-input-columns/dropdown.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.
