# How can I map the value of one “Select” field to map another text field?

**URL:** <https://forum.camunda.io/t/how-can-i-map-the-value-of-one-select-field-to-map-another-text-field/65160>\
**Category:** Camunda 8 Topics\
**Created:** [October 10, 2025, 6:18am UTC](https://forum.camunda.io/t/how-can-i-map-the-value-of-one-select-field-to-map-another-text-field/65160 "2025-10-10T06:18:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Tarek\_Mebrouk](https://forum.camunda.io/user_avatar/forum.camunda.io/tarek_mebrouk/32/33386_2.png) [@Tarek\_Mebrouk](https://forum.camunda.io/u/Tarek_Mebrouk)\
**Post date:** [October 10, 2025, 9:26am UTC](https://forum.camunda.io/t/how-can-i-map-the-value-of-one-select-field-to-map-another-text-field/65160/2 "2025-10-10T09:26:33Z")

</div>

If I understand your question correctly, you are trying to build **dependent fields** — meaning each time there is a change on the first field, the **option values of the second select field change** , right?

If that’s correct, this **can be configured in a Camunda form using FEEL expressions**.

The key points are:

1. You should configure the `option source`of the second select (the dependent one) as a **Expression (FEEL)**, not as static values like you have in your JSON.

2. The options expression can use `if-else` logic (or `match`) to populate the options **based on what the user selects in the first select field**.

Here’s a simple example using **two select fields: Country → City** :

```json
{
   "executionPlatform":"Camunda Cloud",
   "executionPlatformVersion":"8.7.0",
   "schemaVersion":18,
   "id":"Form_fieldsDependency",
   "components":[
      {
         "label":"Country",
         "values":[
            {
               "label":"France",
               "value":"France"
            },
            {
               "label":"Germany",
               "value":"Germany"
            },
            {
               "label":"USA",
               "value":"USA"
            }
         ],
         "type":"select",
         "layout":{
            "row":"Row_0swcbfv",
            "columns":null
         },
         "id":"Field_1dr8138",
         "key":"country"
      },
      {
         "label":"City",
         "type":"select",
         "layout":{
            "row":"Row_0zru3ev",
            "columns":null
         },
         "id":"Field_1htncwl",
         "key":"city",
         "valuesExpression":"=if country = \"France\" then [{\"label\": \"Paris\",\"value\": \"Paris\"},{\"label\": \"Toulouse\",\"value\": \"Toulouse\"}] else if country = \"Germany\" then [{\"label\": \"Munich\",\"value\": \"Munich\"},{\"label\": \"Cologne\",\"value\": \"Cologne\"}] else if country = \"USA\" then [{\"label\": \"California\",\"value\": \"California\"},{\"label\": \"Texas\",\"value\": \"Texas\"}] else []"
      }
   ],
   "type":"default"
}

```

- When the user selects **France** , the second dropdown will show **Paris** and **Toulouse**.

- When the user selects **Germany** , it will show **Munich** and **Cologne**.

This approach is exactly what you need for **client → RM** mappings as well: the first select is your client, and the second one (RM) is filled dynamically using a FEEL expression.

Let me know if this fixes your problem!

---

_[View the full topic](https://forum.camunda.io/t/how-can-i-map-the-value-of-one-select-field-to-map-another-text-field/65160)._
