Get label(item2) from a List Question

What is the syntax to get the label from a single select that is generated from a list?

I want the full name(label) of the household member question(name-List question) that is chosen as the respondent (resp_name - Single Select) is the syntax:

String?name(x=>x.Item2.rowcode>=resp_name)

I not good with C#

Can someone correct the above syntax?

Neville

Hello @neville_csoit ,

you wrote:

Luckily in the age of AI you don’t have to be. Since C# is a general programming language many AI models are very familiar with it (unlike some niche software-specific invented languages). It’s sufficient just to ask your question:


and AI gives you a reasonably good suggestion.

And it does work:

See: 🗎 Public example User questions and common patterns

Thank you Sergiy,

The code from the example worked.

I asked the wrong question, so my answer was off.

Additionally I didn’t check for the answer in the Public questions, happens when you in a hurry. I will have to review the public section some more.

Regards

Neville