---
metadata:
  - name: generator
    content: Diplodoc Platform v5.55.2
alternate:
  - https://yandex.ru/support/forms/en/blocks-ref/cities.md
  - https://yandex.ru/support/forms/ru/blocks-ref/cities.md
  - href: en/blocks-ref/cities.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/support/forms/en/llms.txt

# Cities and countries

To answer this question, you can select cities or countries.




### Question {#question}

Enter a field name or a question.

<!-- source: en/_includes/question-text.md -->
- To add a comment or hint to a question, click ![](../_assets/svg/comment.svg)</svg> **Add explanation**. The text of a comment is displayed using a smaller font size.

   To format the text of a question or comment, use [Markdown markup](https://yandex.ru/support/forms/en/appearance.md#text-formatting).

- To add an image to the question, click ![](../_assets/svg/image.svg)</svg> **Add image**.
<!-- endsource: en/_includes/question-text.md -->

<!-- source: en/_includes/block-options.md -->
* To make a question required, turn on the ![](../_assets/enabled-switch-blue.png) **Required** option in the top right corner of the block. 

  Required questions are marked with an asterisk (<span style="color: red;">*</span>) in the form. If a user skips a required question, they won't be able to submit the form.
<!-- endsource: en/_includes/block-options.md -->

<!-- source: en/_includes/block-options.md -->
* To show or hide a question based on previous answers, click ![](../_assets/svg/condition.svg)</svg> **Display conditions** in the top right corner of the block. For more information, see [Configure display conditions for questions or pages](https://yandex.ru/support/forms/en/add-questions.md#conditions).
<!-- endsource: en/_includes/block-options.md -->

### Answers {#answer}

<!-- source: en/_includes/answer-options.md -->
#### Multiple answers {#multiple}

Enable this option to allow users to select multiple answer options for a question.
<!-- endsource: en/_includes/answer-options.md -->

#### Data type {#data}

To ensure relevant input prompts, specify the type of data the user needs to enter: **City** or **Country**.

#### Limit list of countries {#limit}

 {% note info "" %}

Currently, countries in the catalog can only be searched by their name in Russian.

{% endnote %}

You can limit the options to a set list of countries. The name of this option varies depending on the [type of data](#data):

- **Limit list of countries**. Users can only select from the countries you specified.

- **Limit countries available for city selection**. Users can only select cities in the countries you specified.
  
  For example, this is useful if you use a form to accept mail orders but can only deliver them within Russia.

## Settings {#settings}

<!-- source: en/_includes/question-settings.md -->
To reveal additional question settings, click ![](../_assets/svg/settings.svg) **Show settings** at the top of the question block. To hide the settings, click the icon again.
<!-- endsource: en/_includes/question-settings.md -->


<!-- source: en/_includes/question-settings.md -->
#### Questions IDs {#id}

Use the question ID to [prefill the form](https://yandex.ru/support/forms/en/pre-fill.md).

Question IDs may contain capital and lowercase Latin letters, numbers, `-` and `_` characters. Make sure all questions in the same form have unique IDs.
<!-- endsource: en/_includes/question-settings.md -->

<!-- source: en/_includes/question-settings.md -->
#### Hide question {#hidden}

Enable this option to hide a question in the form. You can use hidden questions to [pass service or auxiliary parameters](https://yandex.ru/support/forms/en/pre-fill.md#hidden-query).

 {% note warning "" %}

Don't select both the **Hide question** and **Required** options at the same time. Otherwise, users won't be able to submit the form.

{% endnote %}
<!-- endsource: en/_includes/question-settings.md -->

<!-- source: en/_assets/style.md -->

<!-- endsource: en/_assets/style.md -->
