Text responses as options for other variable

Hi
i wanted to make the responses from "text" variable the labels of a
"select_multiple" variable that comes after. can anyone help?

text-options.xlsx (9.61 KB)

Hi,
please, try this (you are not obliged to respect the order):

  1. ${top_brand}
    2)${second_brand}
    3)${third_brand}
    Hope that helps!
    Best,
··· Le mardi 9 mai 2017 14:48:30 UTC+2, antenehg...@gmail.com a écrit : > > Hi > i wanted to make the responses from "text" variable the labels of a > "select_multiple" variable that comes after. can anyone help? > >

Hi Amal,
That helped.
Thanks

··· On Tuesday, May 9, 2017 at 9:48:45 PM UTC+3, Amal wrote: > > Hi, > please, try this (you are not obliged to respect the order): > 1) ${top_brand} > 2)${second_brand} > 3)${third_brand} > Hope that helps! > Best, > > Le mardi 9 mai 2017 14:48:30 UTC+2, antenehg...@gmail.com a écrit : >> >> Hi >> i wanted to make the responses from "text" variable the labels of a >> "select_multiple" variable that comes after. can anyone help? >> >>

Amal's answer will return the name/value, but if you also want to
return the label, you can use jr:choice-name().

https://groups.google.com/d/msg/opendatakit/gRdvgUR7mfA/n26cf-ro9GwJ
and https://groups.google.com/d/msg/opendatakit/WMDJlGsFirY/po5coZI4AQAJ
should help.

Yaw

··· On Wed, May 10, 2017 at 3:38 AM, wrote: > Hi Amal, > That helped. > Thanks > > > On Tuesday, May 9, 2017 at 9:48:45 PM UTC+3, Amal wrote: >> >> Hi, >> please, try this (you are not obliged to respect the order): >> 1) ${top_brand} >> 2)${second_brand} >> 3)${third_brand} >> Hope that helps! >> Best, >> >> Le mardi 9 mai 2017 14:48:30 UTC+2, antenehg...@gmail.com a écrit : >>> >>> Hi >>> i wanted to make the responses from "text" variable the labels of a >>> "select_multiple" variable that comes after. can anyone help? >>> > -- > -- > 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.