Displaying all the choices selected from a select multiple list

Hi

I have a select multiple question q1 with the choices of

ABC 1
DEF 2
GHI 3
JKL 4

I need to display the values selected in q1 in a note as a comma separated
string. How can I do this ? I am new to ODK/XLS form.

Thanks
Anita

Hi, welcome!

if i understood correctly an ultra rapid and simple way would be put the
"name" values of the choice with the comma in them:

LABEL NAME LIST_NAME
ABC 1 ABC 1, my_multiple_list_name
DEF 2 DEF 2, my_multiple_list_name

So when the user selects the response is valorized with the string you
wanted... the only problem is when the user selects just one option... the
output will be for example "ABC 1,"... but in this case you can use a
substr function to get just what you need.

Should work... :confused:

Bye
Angelo

Hi

ยทยทยท Il giorno Fri Jan 23 2015 at 17:47:58 Anita Kalavar ha scritto: > > I have a select multiple question q1 with the choices of > > ABC 1 > DEF 2 > GHI 3 > JKL 4 > > I need to display the values selected in q1 in a note as a comma separated > string. How can I do this ? I am new to ODK/XLS form. > > Thanks > Anita > > -- > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "ODK Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to opendatakit+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. >