# Dropdown

This operation will add a dropdown box to the current [Form Container](https://docs10.xenioo.com/actions-and-operations/forms/form-container) action. The field will allow the user to select a value from a list of possible values.

![](https://2678899722-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPD9c4fJbXSAZcPHt9%2F-LtdbQ7zjTlrdqGIajfD%2F-Ltdd0rDHKP-aLm6p3sN%2Fimage.png?alt=media\&token=758c6848-099e-46de-97c2-27b329df255d)

### Settings

The action uses the following settings:

| Setting         | Description                                                                                             | [Parsed](https://docs10.xenioo.com/actions-and-operations/dynamic-parsing) |
| --------------- | ------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| Label           | The text that should be displayed beside the field.                                                     | :white\_check\_mark:                                                       |
| Items           | The items to display in the list. Each line in the text will be translated to an entry in the dropdown. | :white\_check\_mark:                                                       |
| Selected Value  | The default selected value of the text area field.                                                      | :white\_check\_mark:                                                       |
| Mandatory       | Choose if the field is required to save the form or not.                                                | :no\_entry:                                                                |
| Target Variable | The variable that will receive the final value of the text area field.                                  | :white\_check\_mark:                                                       |

### Remarks

This is a standard HTML Select field. UI layout may vary depending on the browser and on the platform used.

Each Item text and value can be specified by just using a vertical pipe for each element. If no pipe is specified text and value will be identical. Consider the list below:

```
|Any
ITA|Italiano
ENG|English
German
```

&#x20;Using the above example for the items settings will generate a dropdown with the following data:

```markup
<option value=''>Any</option>
<option value='ITA'>Italiano</option>
<option value='ENG'>English</option>
<option value='German'>German</option>
```

### Trigger

This action does not trigger any event.&#x20;

### Variables

This action does not return any variable but the one that have been specified in the *Target Variable* setting.

### Availability

Channel specific availability follows the table below:

| Channel          | Availability       |
| ---------------- | ------------------ |
| Facebook         | Fully Available.   |
| WhatsApp         | Fully Available.   |
| Telegram         | Fully Available.   |
| Web              | Fully Available.   |
| Alexa            | **Not Available.** |
| Google Assistant | **Not Available.** |
| Slack            | Fully Available.   |
| API              | Fully Available.   |

This action can be used only inside interactions and not as child of other actions. This action is available only to [Premium Accounts](https://docs10.xenioo.com/basic-concepts/your-account/the-free-plan).
