ODK List values

Hi All,

if I have the following list:

list_name name label::english label::arabic

yes_no_dk 1 Yes نعم yes_no_dk 2 No لا
When I want to show the selected answer label ex: your answer were
${member_answer}, it will show 1 instead of the English, so in this case if
I set the name yes, then it will not work for arabic interface.

Is there any way to show the label name according to the language.

Thanks,

That works like a magic!

Big a bunch of thanks :slight_smile:

··· On Tuesday, August 11, 2015 at 12:45:24 PM UTC+3, Hanan Aqilan wrote: > > Hi All, > > if I have the following list: > > list_name name label::english label::arabic > > > > yes_no_dk 1 Yes نعم yes_no_dk 2 No لا > When I want to show the selected answer label ex: your answer were > ${member_answer}, it will show 1 instead of the English, so in this case if > I set the name yes, then it will not work for arabic interface. > > Is there any way to show the label name according to the language. > > > Thanks, > >

Ya it is awesome :slight_smile:

··· On Tuesday, August 11, 2015 at 12:45:24 PM UTC+3, Hanan Aqilan wrote: > > Hi All, > > if I have the following list: > > list_name name label::english label::arabic > > > > yes_no_dk 1 Yes نعم yes_no_dk 2 No لا > When I want to show the selected answer label ex: your answer were > ${member_answer}, it will show 1 instead of the English, so in this case if > I set the name yes, then it will not work for arabic interface. > > Is there any way to show the label name according to the language. > > > Thanks, > >

Hanan,

You'll want to use a jr:choice-name calculation. See the attached form.

Yaw

crops.xlsx (10.7 KB)

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Tue, Aug 11, 2015 at 4:45 AM, Hanan Aqilan hjameelq@gmail.com wrote:

Hi All,

if I have the following list:

list_name name label::english label::arabic

yes_no_dk 1 Yes نعم
yes_no_dk 2 No لا

When I want to show the selected answer label ex: your answer were
${member_answer}, it will show 1 instead of the English, so in this case if
I set the name yes, then it will not work for arabic interface.

Is there any way to show the label name according to the language.

Thanks,

--

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.

Hanan,

It's pretty cool, right? Glad to help!

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Tue, Aug 11, 2015 at 7:01 AM, Hanan Aqilan hjameelq@gmail.com wrote:

That works like a magic!

Big a bunch of thanks :slight_smile:

On Tuesday, August 11, 2015 at 12:45:24 PM UTC+3, Hanan Aqilan wrote:

Hi All,

if I have the following list:

list_name name label::english label::arabic

yes_no_dk 1 Yes نعم
yes_no_dk 2 No لا

When I want to show the selected answer label ex: your answer were ${member_answer}, it will show 1 instead of the English, so in this case if I set the name yes, then it will not work for arabic interface.

Is there any way to show the label name according to the language.

Thanks,

--

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.