Number of items in a select_one

Hi All,
Is there a function (or any other solution) to obtain the number of *items *in
a select_one?
For example, a) below should return 3, and b) below should return 2.
a)

What is your position in the household
Choose One

Head
H


Spouse
S


Other
O

b)

Were you born in the village?
Choose One

Yes
Y


No
N

    Regards,
    Geoeng

No.

··· On Mon, Jul 11, 2016 at 10:47 PM, geoenginfo wrote:

Hi All,
Is there a function (or any other solution) to obtain the number of *items
*in a select_one?
For example, a) below should return 3, and b) below should return 2.
a)

What is your position in the household
Choose One

Head
H


Spouse
S


Other
O

b)

Were you born in the village?
Choose One

Yes
Y


No
N

    Regards,
    Geoeng

--

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.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Thanks Mitch.

··· On Wednesday, July 13, 2016 at 8:10:35 PM UTC+3, Mitch Sundt wrote: > > No. > > On Mon, Jul 11, 2016 at 10:47 PM, geoenginfo <in...@geoengsystems.com > wrote: > >> Hi All, >> Is there a function (or any other solution) to obtain the number of *items >> *in a select_one? >> For example, a) below should return 3, and b) below should return 2. >> a) >> >> What is your position in the household >> Choose One >> >> Head >> H >> >> >> Spouse >> S >> >> >> Other >> O >> >> >> >> b) >> >> Were you born in the village? >> Choose One >> >> Yes >> Y >> >> >> No >> N >> >> >> >> Regards, >> Geoeng >> >> -- >> -- >> Post: opend...@googlegroups.com >> Unsubscribe: opendatakit...@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...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com >

Also, if this would be a useful thing to have, consider adding it to
the Javarosa library.

Yaw

··· -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Thu, Jul 14, 2016 at 2:42 AM, geoenginfo info@geoengsystems.com wrote:

Thanks Mitch.

On Wednesday, July 13, 2016 at 8:10:35 PM UTC+3, Mitch Sundt wrote:

No.

On Mon, Jul 11, 2016 at 10:47 PM, geoenginfo in...@geoengsystems.com wrote:

Hi All,
Is there a function (or any other solution) to obtain the number of items
in a select_one?
For example, a) below should return 3, and b) below should return 2.
a)

What is your position in the household
Choose One

Head
H


Spouse
S


Other
O

b)

Were you born in the village?
Choose One

Yes
Y


No
N

    Regards,
    Geoeng

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--

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.

Thanks Yaw. Hope you arrived well after our recent meetup in Nairobi.

We will be keen to know if this is possible in a future release.

Thanks,
Geoeng.

··· On Thursday, July 14, 2016 at 10:36:35 PM UTC+3, Yaw Anokwa wrote: > > Also, if this would be a useful thing to have, consider adding it to > the Javarosa library. > > Yaw > -- > Need ODK consultants? Nafundi provides form design, server setup, > in-field training, and software development for ODK. Go to > https://nafundi.com to get started. > > On Thu, Jul 14, 2016 at 2:42 AM, geoenginfo <in...@geoengsystems.com > wrote: > > Thanks Mitch. > > > > On Wednesday, July 13, 2016 at 8:10:35 PM UTC+3, Mitch Sundt wrote: > >> > >> No. > >> > >> On Mon, Jul 11, 2016 at 10:47 PM, geoenginfo wrote: > >>> > >>> Hi All, > >>> Is there a function (or any other solution) to obtain the number of > items > >>> in a select_one? > >>> For example, a) below should return 3, and b) below should return 2. > >>> a) > >>> > >>> What is your position in the household > >>> Choose One > >>> > >>> Head > >>> H > >>> > >>> > >>> Spouse > >>> S > >>> > >>> > >>> Other > >>> O > >>> > >>> > >>> > >>> b) > >>> > >>> Were you born in the village? > >>> Choose One > >>> > >>> Yes > >>> Y > >>> > >>> > >>> No > >>> N > >>> > >>> > >>> > >>> Regards, > >>> Geoeng > >>> > >>> -- > >>> -- > >>> Post: opend...@googlegroups.com > >>> Unsubscribe: opendatakit...@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...@googlegroups.com. > >>> For more options, visit https://groups.google.com/d/optout. > >> > >> > >> > >> > >> -- > >> Mitch Sundt > >> Software Engineer > >> University of Washington > >> mitche...@gmail.com > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@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...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >