Get a specific option (from option set) for text

I have an option set with attributes “Display” and “number”

I have a repeating group of a thing.
In the RG, I have a text element. I want to do this (psuedocode):

“Get option where number = current cells index” and then “Text = option.Display”

Can I do this easily without conditionals? You can’t ‘search’ for an option…

Hi there, @thethinklab.au… I’m not following exactly what you are trying to do, but the way to get a specific option from an option set is to get all of the options, add the :filtered operator to the expression, add constraints to the filter, and add the :first item operator to the end of the expression.

Hope this helps.

Best…
Mike

1 Like

That helps perfectly - thanks!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.