Begin_repeat

Try playing around with this:

show-choices.xls (19.5 KB)

Basically, the ‘trick’ is to use some XForm black-magic, in the form of a true() choice-filter which forces the option list into an XForm nodeset, and then a join() to extract the labels from this nodeset into a string (I’m using a ', ’ separator above, but you can substitute a single space if you prefer).

See Counting the number of all options in a select_one / select_multiple variable - #26 by Derrick_Nyakiba - Ideas - ODK Forum

3 Likes