# Echo value of select field

**URL:** <https://forum.getkirby.com/t/echo-value-of-select-field/9562>\
**Category:** Questions\
**Tags:** v2\
**Created:** [January 29, 2018, 6:59pm UTC](https://forum.getkirby.com/t/echo-value-of-select-field/9562 "2018-01-29T18:59:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [January 29, 2018, 7:30pm UTC](https://forum.getkirby.com/t/echo-value-of-select-field/9562/3 "2018-01-29T19:30:00Z")

</div>

You can use a category map, in a multi-lang environment, you can use[language variables](https://getkirby.com/docs/languages/variables):

```auto
c::set('categoryMap' [
  'cat1' => 'Option 1',
  'cat2' => 'Option 2'
]);

```

Then in your template:

```auto
$categories = c::get('categoryMap');
echo $categories['cat1'];

```

`value()` doesn’t help here.

Other option include using a [plugin that reads blueprint labels](https://github.com/jenstornell/kirby-blueprint-reader) (overkill), or use the value as key as well.

```auto
options:
  "Option 1": Option 1

```

I think I have to write a cookbook article, I don’t know how many times I have answered this same question. Oh, did you know there is a search function at the top right? 😂😂

---

_[View the full topic](https://forum.getkirby.com/t/echo-value-of-select-field/9562)._
