# Getting value label in multi selected items

**URL:** <https://forum.getodk.org/t/getting-value-label-in-multi-selected-items/40293>\
**Category:** Support\
**Tags:** form-design\
**Created:** [February 3, 2023, 10:26am UTC](https://forum.getodk.org/t/getting-value-label-in-multi-selected-items/40293 "2023-02-03T10:26:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandet](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/sandet/32/20205_2.png) [@sandet](https://forum.getodk.org/u/sandet)\
**Post date:** [February 3, 2023, 10:26am UTC](https://forum.getodk.org/t/getting-value-label-in-multi-selected-items/40293/1 "2023-02-03T10:26:33Z")

</div>

Hi all,  
I'm having a problem getting selected labels from select\_multiple questions to be used in the proceeding questions.

it's working fine if the first item alone or the first item with other items is selected, but if the second item alone is selected, I can't seem to get the selected label. it's showing empty.

This is a function I'm using to get labels, there are about 7 answer options in the question with mainproblem variable.  
`"``  
jr:choice-name(selected-at(${mainproblem}, 0), '${mainproblem}')  
jr:choice-name(selected-at(${mainproblem}, 1), '${mainproblem}')  
etc.  
"

```auto
I have checked [this thread](https://forum.getodk.org/t/displaying-select-multiple-all-labels-using-choice-name/4564) but it's different from my problem.

I have attached the excel file.
[Lomiademo.xls|attachment](upload://dYa8DtxGkVHUSYvGAuYuLct6WbB.xls) (80 KB)

Please I need your assistance on this. 
Thanks
Edward
```

---

<div class="post-metadata">

**Author:** ![Grzesiek2010](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/grzesiek2010/32/2881_2.png) [@Grzesiek2010](https://forum.getodk.org/u/Grzesiek2010)\
**Post date:** [February 10, 2023, 1:22pm UTC](https://forum.getodk.org/t/getting-value-label-in-multi-selected-items/40293/2 "2023-02-10T13:22:34Z")

</div>

Hi @sandet  
Welcome to the ODK forum. We're glad you're here. When you get a chance, please [introduce yourself on this forum thread](https://forum.getodk.org/t/-/6671).

Could you attach your form? It would be easier to help you then.
