Dynamic Single Select

Hi,

I was wondering if there was any action on dynamic single selects, as
discussed here:

http://groups.google.com/group/opendatakit/browse_thread/thread/ba6204204ddd17ed/

Andrew

i think it's still high on the javarosa todo list, but the community
is swamped trying to push a v1.0 release. so many todos, so few
developers...

··· On Mon, Oct 4, 2010 at 11:27, Andrew Marder wrote: > Hi, > > I was wondering if there was any action on dynamic single selects, as > discussed here: > > http://groups.google.com/group/opendatakit/browse_thread/thread/ba6204204ddd17ed/ > > Andrew > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >

Is there any news on this?

··· On Oct 4 2010, 1:22 pm, Yaw Anokwa wrote: > i think it's still high on the javarosa todo list, but the community > is swamped trying to push a v1.0 release. so many todos, so few > developers... > > > > > > > > On Mon, Oct 4, 2010 at 11:27, Andrew Marder wrote: > > Hi, > > > I was wondering if there was any action on dynamic single selects, as > > discussed here: > > >http://groups.google.com/group/opendatakit/browse_thread/thread/ba620... > > > Andrew > > > -- > > Post: opendatakit@googlegroups.com > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > > Options:http://groups.google.com/group/opendatakit?hl=en

Sarah:

if by dynamic you mean choices pulled from a db based on some criteria set
earlier in the form, then we have a preliminary version working but it is
far from being ready for prime time. Are there any developer cycles in your
organization that could help us get this out?

We do have a larger range of select appearances available in 1.1.7 including
the ability to choose from a long list of choices by typing in a few letters
to get a filtered list.

Gaetano

··· On Mon, Aug 1, 2011 at 7:50 PM, Bird wrote:

Is there any news on this?

On Oct 4 2010, 1:22 pm, Yaw Anokwa yano...@gmail.com wrote:

i think it's still high on the javarosa todo list, but the community
is swamped trying to push a v1.0 release. so many todos, so few
developers...

On Mon, Oct 4, 2010 at 11:27, Andrew Marder andrew.n.mar...@gmail.com wrote:

Hi,

I was wondering if there was any action on dynamic single selects, as
discussed here:

http://groups.google.com/group/opendatakit/browse_thread/thread/ba620.
..

Andrew

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options:http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

Hi Gaetano, that's good to know, thanks - I'll try that out.

What I specifically meant was, for example:
Q1) List of Continents
Q2) List of Countries - Only those associated with appropriate Continent
(from Q1) appear
Q3) List of Cities - Only those associated with appropriate Country (from
Q2) appear

There are other ways to handle the problem of wanting to get to the right
field, so I'll have a go at the list filtering; I was just wondering about
this feature as I was building a form in purcforms using "Single Select
Dynamic" and the Validator seemed to indicate it wasn't valid and then I
found this thread.

Thanks,

Bird

··· On Mon, Aug 1, 2011 at 7:56 PM, Gaetano Borriello <gaetano@cs.washington.edu wrote:

Sarah:

if by dynamic you mean choices pulled from a db based on some criteria set
earlier in the form, then we have a preliminary version working but it is
far from being ready for prime time. Are there any developer cycles in your
organization that could help us get this out?

We do have a larger range of select appearances available in 1.1.7
including the ability to choose from a long list of choices by typing in a
few letters to get a filtered list.

Gaetano

On Mon, Aug 1, 2011 at 7:50 PM, Bird sarah.birdman@gmail.com wrote:

Is there any news on this?

On Oct 4 2010, 1:22 pm, Yaw Anokwa yano...@gmail.com wrote:

i think it's still high on the javarosa todo list, but the community
is swamped trying to push a v1.0 release. so many todos, so few
developers...

On Mon, Oct 4, 2010 at 11:27, Andrew Marder andrew.n.mar...@gmail.com wrote:

Hi,

I was wondering if there was any action on dynamic single selects, as
discussed here:

http://groups.google.com/group/opendatakit/browse_thread/thread/ba620.
..

Andrew

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options:http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

Gaetano -

A dynamic value from an external database would be great for us.

How much effort /time is this for a dev? (Might find a resource, need rough
idea.) .

James Dailey
+1 206 234 8435

Sarah:

if by dynamic you mean choices pulled from a db based on some criteria set
earlier in the form, then we have a preliminary version working but it is
far from being ready for prime time. Are there any developer cycles in
your
organization that could help us get this out?

We do have a larger range of select appearances available in 1.1.7
including
the ability to choose from a long list of choices by typing in a few
letters

··· Sent from my "smart" phone. On Aug 2, 2011 11:04 AM, "Gaetano Borriello" wrote: > to get a filtered list. > > Gaetano > > > > > On Mon, Aug 1, 2011 at 7:50 PM, Bird wrote: > >> Is there any news on this? >> >> On Oct 4 2010, 1:22 pm, Yaw Anokwa wrote: >> > i think it's still high on the javarosa todo list, but the community >> > is swamped trying to push a v1.0 release. so many todos, so few >> > developers... >> > >> > >> > >> > >> > >> > >> > >> > On Mon, Oct 4, 2010 at 11:27, Andrew Marder wrote: >> > > Hi, >> > >> > > I was wondering if there was any action on dynamic single selects, as >> > > discussed here: >> > >> > >http://groups.google.com/group/opendatakit/browse_thread/thread/ba620. >> .. >> > >> > > Andrew >> > >> > > -- >> > > Post: opendatakit@googlegroups.com >> > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> > > Options:http://groups.google.com/group/opendatakit?hl=en >> >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en >> > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en

I don't think this needs the more elaborate elements we are working on for
the future. You can do this now except maybe for Q3 depending on how many
possibly cities you want to list.

For Q1) only 7 here, no worries
For Q2) based on the answer of Q2, you can go to one of 7 different Q2s that
list the countries on each continent (you can use the version of select that
allows you to enter letters in the country's name so you don't have scroll
through a long list of countries).
For Q3) you can do the same as Q2 unless you want even very small cities
listed.

Another possibility is to just record GPS location and worry about
converting to a city and/or address later.

Gaetano

··· On Mon, Aug 1, 2011 at 8:26 PM, Sarah Bird wrote:

Hi Gaetano, that's good to know, thanks - I'll try that out.

What I specifically meant was, for example:
Q1) List of Continents
Q2) List of Countries - Only those associated with appropriate Continent
(from Q1) appear
Q3) List of Cities - Only those associated with appropriate Country (from
Q2) appear

There are other ways to handle the problem of wanting to get to the right
field, so I'll have a go at the list filtering; I was just wondering about
this feature as I was building a form in purcforms using "Single Select
Dynamic" and the Validator seemed to indicate it wasn't valid and then I
found this thread.

Thanks,

Bird

On Mon, Aug 1, 2011 at 7:56 PM, Gaetano Borriello < gaetano@cs.washington.edu> wrote:

Sarah:

if by dynamic you mean choices pulled from a db based on some criteria set
earlier in the form, then we have a preliminary version working but it is
far from being ready for prime time. Are there any developer cycles in your
organization that could help us get this out?

We do have a larger range of select appearances available in 1.1.7
including the ability to choose from a long list of choices by typing in a
few letters to get a filtered list.

Gaetano

On Mon, Aug 1, 2011 at 7:50 PM, Bird sarah.birdman@gmail.com wrote:

Is there any news on this?

On Oct 4 2010, 1:22 pm, Yaw Anokwa yano...@gmail.com wrote:

i think it's still high on the javarosa todo list, but the community
is swamped trying to push a v1.0 release. so many todos, so few
developers...

On Mon, Oct 4, 2010 at 11:27, Andrew Marder andrew.n.mar...@gmail.com wrote:

Hi,

I was wondering if there was any action on dynamic single selects, as
discussed here:

http://groups.google.com/group/opendatakit/browse_thread/thread/ba620...

Andrew

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options:http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

depends on exactly what the functionality is. we have a rough first
pass (undergrad code that will likely have to be scrapped) and my
guess is that it'd take one experienced android dev 1-3 weeks to do it
well.

··· On Tue, Aug 9, 2011 at 01:56, James Dailey wrote: > Gaetano - > > A dynamic value from an external database would be great for us. > > How much effort /time is this for a dev? (Might find a resource, need rough > idea.) . > > James Dailey > Sent from my "smart" phone. > +1 206 234 8435 > > On Aug 2, 2011 11:04 AM, "Gaetano Borriello" wrote: >> Sarah: >> >> if by dynamic you mean choices pulled from a db based on some criteria set >> earlier in the form, then we have a preliminary version working but it is >> far from being ready for prime time. Are there any developer cycles in >> your >> organization that could help us get this out? >> >> We do have a larger range of select appearances available in 1.1.7 >> including >> the ability to choose from a long list of choices by typing in a few >> letters >> to get a filtered list. >> >> Gaetano >> >> >> >> >> On Mon, Aug 1, 2011 at 7:50 PM, Bird wrote: >> >>> Is there any news on this? >>> >>> On Oct 4 2010, 1:22 pm, Yaw Anokwa wrote: >>> > i think it's still high on the javarosa todo list, but the community >>> > is swamped trying to push a v1.0 release. so many todos, so few >>> > developers... >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > On Mon, Oct 4, 2010 at 11:27, Andrew Marder wrote: >>> > > Hi, >>> > >>> > > I was wondering if there was any action on dynamic single selects, as >>> > > discussed here: >>> > >>> > >http://groups.google.com/group/opendatakit/browse_thread/thread/ba620. >>> .. >>> > >>> > > Andrew >>> > >>> > > -- >>> > > Post: opendatakit@googlegroups.com >>> > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com >>> > > Options:http://groups.google.com/group/opendatakit?hl=en >>> >>> -- >>> Post: opendatakit@googlegroups.com >>> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >>> Options: http://groups.google.com/group/opendatakit?hl=en >>> >> >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >

Hi,

I agree on the geographies, but there are plenty of other use cases that you
can't use GPS for e.g. we were doing a study in Pakistan where school
inspectors needed to select a correct school; we evaluated using this method
in openXdata but in the end used a coding system as it was easier to
implement quickly. But there are cases where this drill down method might
have been easier.

Anyway, will check out the select thing a little more, I'm not entirely sure
I understand....can you elaborate "you can use the version of select that
allows you to enter letters in the country's name so you don't have scroll
through a long list of countries" - specifically, what do you mean by "the
version of select" - sorry if i'm being stupid here.

Best,

Bird

··· On Mon, Aug 1, 2011 at 10:07 PM, Gaetano Borriello < gaetano@cs.washington.edu> wrote:

I don't think this needs the more elaborate elements we are working on for
the future. You can do this now except maybe for Q3 depending on how many
possibly cities you want to list.

For Q1) only 7 here, no worries
For Q2) based on the answer of Q2, you can go to one of 7 different Q2s
that list the countries on each continent (you can use the version of select
that allows you to enter letters in the country's name so you don't have
scroll through a long list of countries).
For Q3) you can do the same as Q2 unless you want even very small cities
listed.

Another possibility is to just record GPS location and worry about
converting to a city and/or address later.

Gaetano

On Mon, Aug 1, 2011 at 8:26 PM, Sarah Bird sbird@alum.mit.edu wrote:

Hi Gaetano, that's good to know, thanks - I'll try that out.

What I specifically meant was, for example:
Q1) List of Continents
Q2) List of Countries - Only those associated with appropriate Continent
(from Q1) appear
Q3) List of Cities - Only those associated with appropriate Country (from
Q2) appear

There are other ways to handle the problem of wanting to get to the right
field, so I'll have a go at the list filtering; I was just wondering about
this feature as I was building a form in purcforms using "Single Select
Dynamic" and the Validator seemed to indicate it wasn't valid and then I
found this thread.

Thanks,

Bird

On Mon, Aug 1, 2011 at 7:56 PM, Gaetano Borriello < gaetano@cs.washington.edu> wrote:

Sarah:

if by dynamic you mean choices pulled from a db based on some criteria
set earlier in the form, then we have a preliminary version working but it
is far from being ready for prime time. Are there any developer cycles in
your organization that could help us get this out?

We do have a larger range of select appearances available in 1.1.7
including the ability to choose from a long list of choices by typing in a
few letters to get a filtered list.

Gaetano

On Mon, Aug 1, 2011 at 7:50 PM, Bird sarah.birdman@gmail.com wrote:

Is there any news on this?

On Oct 4 2010, 1:22 pm, Yaw Anokwa yano...@gmail.com wrote:

i think it's still high on the javarosa todo list, but the community
is swamped trying to push a v1.0 release. so many todos, so few
developers...

On Mon, Oct 4, 2010 at 11:27, Andrew Marder < andrew.n.mar...@gmail.com> wrote:

Hi,

I was wondering if there was any action on dynamic single selects,
as
discussed here:

http://groups.google.com/group/opendatakit/browse_thread/thread/ba620.
..

Andrew

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options:http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

sarah,

what gaetano is proposing is using select ones and relevancy to narrow
things down. in collect 1.1.7, there is also support for autocomplete
widgets in select so it's not a ton of scrolling. it's kind of a pain
to design with the existing form designers, but it's doable.

i also know clayton (of dimagi fame) does have some kind of dynamic
selects code in the core that should work with collect. maybe you can
ping him for an example and report back?

yaw

··· On Tue, Aug 2, 2011 at 00:32, Sarah Bird wrote: > Hi, > I agree on the geographies, but there are plenty of other use cases that you > can't use GPS for e.g. we were doing a study in Pakistan where school > inspectors needed to select a correct school; we evaluated using this method > in openXdata but in the end used a coding system as it was easier to > implement quickly. But there are cases where this drill down method might > have been easier. > Anyway, will check out the select thing a little more, I'm not entirely sure > I understand....can you elaborate "you can use the version of select that > allows you to enter letters in the country's name so you don't have scroll > through a long list of countries" - specifically, what do you mean by "the > version of select" - sorry if i'm being stupid here. > Best, > Bird > On Mon, Aug 1, 2011 at 10:07 PM, Gaetano Borriello wrote: >> >> I don't think this needs the more elaborate elements we are working on for >> the future. You can do this now except maybe for Q3 depending on how many >> possibly cities you want to list. >> For Q1) only 7 here, no worries >> For Q2) based on the answer of Q2, you can go to one of 7 different Q2s >> that list the countries on each continent (you can use the version of select >> that allows you to enter letters in the country's name so you don't have >> scroll through a long list of countries). >> For Q3) you can do the same as Q2 unless you want even very small cities >> listed. >> Another possibility is to just record GPS location and worry about >> converting to a city and/or address later. >> Gaetano >> >> >> >> On Mon, Aug 1, 2011 at 8:26 PM, Sarah Bird wrote: >>> >>> Hi Gaetano, that's good to know, thanks - I'll try that out. >>> What I specifically meant was, for example: >>> Q1) List of Continents >>> Q2) List of Countries - Only those associated with appropriate Continent >>> (from Q1) appear >>> Q3) List of Cities - Only those associated with appropriate Country (from >>> Q2) appear >>> There are other ways to handle the problem of wanting to get to the right >>> field, so I'll have a go at the list filtering; I was just wondering about >>> this feature as I was building a form in purcforms using "Single Select >>> Dynamic" and the Validator seemed to indicate it wasn't valid and then I >>> found this thread. >>> Thanks, >>> Bird >>> On Mon, Aug 1, 2011 at 7:56 PM, Gaetano Borriello wrote: >>>> >>>> Sarah: >>>> if by dynamic you mean choices pulled from a db based on some criteria >>>> set earlier in the form, then we have a preliminary version working but it >>>> is far from being ready for prime time. Are there any developer cycles in >>>> your organization that could help us get this out? >>>> We do have a larger range of select appearances available in 1.1.7 >>>> including the ability to choose from a long list of choices by typing in a >>>> few letters to get a filtered list. >>>> Gaetano >>>> >>>> >>>> >>>> On Mon, Aug 1, 2011 at 7:50 PM, Bird wrote: >>>>> >>>>> Is there any news on this? >>>>> >>>>> On Oct 4 2010, 1:22 pm, Yaw Anokwa wrote: >>>>> > i think it's still high on the javarosa todo list, but the community >>>>> > is swamped trying to push a v1.0 release. so many todos, so few >>>>> > developers... >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > On Mon, Oct 4, 2010 at 11:27, Andrew Marder wrote: >>>>> > > Hi, >>>>> > >>>>> > > I was wondering if there was any action on dynamic single selects, >>>>> > > as >>>>> > > discussed here: >>>>> > >>>>> > >>>>> > > >http://groups.google.com/group/opendatakit/browse_thread/thread/ba620... >>>>> > >>>>> > > Andrew >>>>> > >>>>> > > -- >>>>> > > Post: opendatakit@googlegroups.com >>>>> > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com >>>>> > > Options:http://groups.google.com/group/opendatakit?hl=en >>>>> >>>>> -- >>>>> Post: opendatakit@googlegroups.com >>>>> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >>>>> Options: http://groups.google.com/group/opendatakit?hl=en >>>> >>>> -- >>>> Post: opendatakit@googlegroups.com >>>> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >>>> Options: http://groups.google.com/group/opendatakit?hl=en >>> >>> -- >>> Post: opendatakit@googlegroups.com >>> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >>> Options: http://groups.google.com/group/opendatakit?hl=en >> >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >

Hey all,

I'm a developer interested in helping to implement dynamic single
select, and I'd like to know how best to help?

If I'm not mistaken the idea is to use an itemset with predicates in
the xpath that define the nodes in the nodeset to dynamically
determine the contents of an itemset at runtime. This is what I
figured from reading this http://cscie153.dce.harvard.edu/lecture_notes/2009/20091103/slide48.html
and testing the XML in the Mozilla XForms add-on for FireFox(https://
addons.mozilla.org/en-US/firefox/addon/mozilla-xforms/)

I've worked on the KoBo form builder for a few months, but am new to
ODK. From what I can tell the Java Rosa code doesn't support
predicates in the xPath for the nodeset attribute in an itemset. Is
this correct? Has someone else already started working on this who I
could team up with? I'm grateful for any assitance that can point me
in the right direction and add this feature to ODK.

Thanks a lot,

John.

··· On Aug 2, 1:32 am, Sarah Bird wrote: > Hi, > > I agree on the geographies, but there are plenty of other use cases that you > can't use GPS for e.g. we were doing a study in Pakistan where school > inspectors needed to select a correct school; we evaluated using this method > in openXdata but in the end used a coding system as it was easier to > implement quickly. But there are cases where this drill down method might > have been easier. > > Anyway, will check out the select thing a little more, I'm not entirely sure > I understand....can you elaborate "you can use the version of select that > allows you to enter letters in the country's name so you don't have scroll > through a long list of countries" - specifically, what do you mean by "the > version of select" - sorry if i'm being stupid here. > > Best, > > Bird > > On Mon, Aug 1, 2011 at 10:07 PM, Gaetano Borriello < gaet...@cs.washington.edu> wrote: > > I don't think this needs the more elaborate elements we are working on for > > the future. You can do this now except maybe for Q3 depending on how many > > possibly cities you want to list. > > > For Q1) only 7 here, no worries > > For Q2) based on the answer of Q2, you can go to one of 7 different Q2s > > that list the countries on each continent (you can use the version of select > > that allows you to enter letters in the country's name so you don't have > > scroll through a long list of countries). > > For Q3) you can do the same as Q2 unless you want even very small cities > > listed. > > > Another possibility is to just record GPS location and worry about > > converting to a city and/or address later. > > > Gaetano > > > On Mon, Aug 1, 2011 at 8:26 PM, Sarah Bird wrote: > > >> Hi Gaetano, that's good to know, thanks - I'll try that out. > > >> What I specifically meant was, for example: > >> Q1) List of Continents > >> Q2) List of Countries - Only those associated with appropriate Continent > >> (from Q1) appear > >> Q3) List of Cities - Only those associated with appropriate Country (from > >> Q2) appear > > >> There are other ways to handle the problem of wanting to get to the right > >> field, so I'll have a go at the list filtering; I was just wondering about > >> this feature as I was building a form in purcforms using "Single Select > >> Dynamic" and the Validator seemed to indicate it wasn't valid and then I > >> found this thread. > > >> Thanks, > > >> Bird > > >> On Mon, Aug 1, 2011 at 7:56 PM, Gaetano Borriello < gaet...@cs.washington.edu> wrote: > > >>> Sarah: > > >>> if by dynamic you mean choices pulled from a db based on some criteria > >>> set earlier in the form, then we have a preliminary version working but it > >>> is far from being ready for prime time. Are there any developer cycles in > >>> your organization that could help us get this out? > > >>> We do have a larger range of select appearances available in 1.1.7 > >>> including the ability to choose from a long list of choices by typing in a > >>> few letters to get a filtered list. > > >>> Gaetano > > >>> On Mon, Aug 1, 2011 at 7:50 PM, Bird wrote: > > >>>> Is there any news on this? > > >>>> On Oct 4 2010, 1:22 pm, Yaw Anokwa wrote: > >>>> > i think it's still high on the javarosa todo list, but the community > >>>> > is swamped trying to push a v1.0 release. so many todos, so few > >>>> > developers... > > >>>> > On Mon, Oct 4, 2010 at 11:27, Andrew Marder < andrew.n.mar...@gmail.com> wrote: > >>>> > > Hi, > > >>>> > > I was wondering if there was any action on dynamic single selects, > >>>> as > >>>> > > discussed here: > > >>>>http://groups.google.com/group/opendatakit/browse_thread/thread/ba620. > >>>> .. > > >>>> > > Andrew > > >>>> > > -- > >>>> > > Post: opendatakit@googlegroups.com > >>>> > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > >>>> > > Options:http://groups.google.com/group/opendatakit?hl=en > > >>>> -- > >>>> Post: opendatakit@googlegroups.com > >>>> Unsubscribe: opendatakit+unsubscribe@googlegroups.com > >>>> Options:http://groups.google.com/group/opendatakit?hl=en > > >>> -- > >>> Post: opendatakit@googlegroups.com > >>> Unsubscribe: opendatakit+unsubscribe@googlegroups.com > >>> Options:http://groups.google.com/group/opendatakit?hl=en > > >> -- > >> Post: opendatakit@googlegroups.com > >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com > >> Options:http://groups.google.com/group/opendatakit?hl=en > > > -- > > Post: opendatakit@googlegroups.com > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > > Options:http://groups.google.com/group/opendatakit?hl=en

thanks!

··· On Wed, Aug 3, 2011 at 2:41 PM, Yaw Anokwa wrote:

sarah,

what gaetano is proposing is using select ones and relevancy to narrow
things down. in collect 1.1.7, there is also support for autocomplete
widgets in select so it's not a ton of scrolling. it's kind of a pain
to design with the existing form designers, but it's doable.

i also know clayton (of dimagi fame) does have some kind of dynamic
selects code in the core that should work with collect. maybe you can
ping him for an example and report back?

yaw

On Tue, Aug 2, 2011 at 00:32, Sarah Bird sbird@alum.mit.edu wrote:

Hi,
I agree on the geographies, but there are plenty of other use cases that
you
can't use GPS for e.g. we were doing a study in Pakistan where school
inspectors needed to select a correct school; we evaluated using this
method
in openXdata but in the end used a coding system as it was easier to
implement quickly. But there are cases where this drill down method might
have been easier.
Anyway, will check out the select thing a little more, I'm not entirely
sure
I understand....can you elaborate "you can use the version of select that
allows you to enter letters in the country's name so you don't have
scroll
through a long list of countries" - specifically, what do you mean by
"the
version of select" - sorry if i'm being stupid here.
Best,
Bird
On Mon, Aug 1, 2011 at 10:07 PM, Gaetano Borriello gaetano@cs.washington.edu wrote:

I don't think this needs the more elaborate elements we are working on
for
the future. You can do this now except maybe for Q3 depending on how
many
possibly cities you want to list.
For Q1) only 7 here, no worries
For Q2) based on the answer of Q2, you can go to one of 7 different Q2s
that list the countries on each continent (you can use the version of
select
that allows you to enter letters in the country's name so you don't have
scroll through a long list of countries).
For Q3) you can do the same as Q2 unless you want even very small cities
listed.
Another possibility is to just record GPS location and worry about
converting to a city and/or address later.
Gaetano

On Mon, Aug 1, 2011 at 8:26 PM, Sarah Bird sbird@alum.mit.edu wrote:

Hi Gaetano, that's good to know, thanks - I'll try that out.
What I specifically meant was, for example:
Q1) List of Continents
Q2) List of Countries - Only those associated with appropriate
Continent
(from Q1) appear
Q3) List of Cities - Only those associated with appropriate Country
(from
Q2) appear
There are other ways to handle the problem of wanting to get to the
right
field, so I'll have a go at the list filtering; I was just wondering
about
this feature as I was building a form in purcforms using "Single Select
Dynamic" and the Validator seemed to indicate it wasn't valid and then
I
found this thread.
Thanks,
Bird
On Mon, Aug 1, 2011 at 7:56 PM, Gaetano Borriello gaetano@cs.washington.edu wrote:

Sarah:
if by dynamic you mean choices pulled from a db based on some criteria
set earlier in the form, then we have a preliminary version working
but it
is far from being ready for prime time. Are there any developer
cycles in
your organization that could help us get this out?
We do have a larger range of select appearances available in 1.1.7
including the ability to choose from a long list of choices by typing
in a
few letters to get a filtered list.
Gaetano

On Mon, Aug 1, 2011 at 7:50 PM, Bird sarah.birdman@gmail.com wrote:

Is there any news on this?

On Oct 4 2010, 1:22 pm, Yaw Anokwa yano...@gmail.com wrote:

i think it's still high on the javarosa todo list, but the
community
is swamped trying to push a v1.0 release. so many todos, so few
developers...

On Mon, Oct 4, 2010 at 11:27, Andrew Marder andrew.n.mar...@gmail.com wrote:

Hi,

I was wondering if there was any action on dynamic single
selects,
as
discussed here:

http://groups.google.com/group/opendatakit/browse_thread/thread/ba620...

Andrew

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options:http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

hi john,

the changes for itemsets need to happen in the javarosa-core. once
it's there, we'll get it in odk. there is some support already
(https://bitbucket.org/javarosa/javarosa/changesets/tip/itemset), but
i haven't looked into how far along it has come.

a good first step is to post on the javarosa-developers list
(http://groups.google.com/group/javarosa-developers) and get an update
(and maybe a sample form) from clayton and drew. they will also be
able to outline the changes that have to be made to get the
filtering/predicate support that folks are asking for.

this is a highly requested feature, so your help is certainly appreciated!

yaw

··· On Fri, Aug 5, 2011 at 18:40, etherton wrote: > Hey all, > > I'm a developer interested in helping to implement dynamic single > select, and I'd like to know how best to help? > > If I'm not mistaken the idea is to use an itemset with predicates in > the xpath that define the nodes in the nodeset to dynamically > determine the contents of an itemset at runtime. This is what I > figured from reading this http://cscie153.dce.harvard.edu/lecture_notes/2009/20091103/slide48.html > and testing the XML in the Mozilla XForms add-on for FireFox(https:// > addons.mozilla.org/en-US/firefox/addon/mozilla-xforms/) > > I've worked on the KoBo form builder for a few months, but am new to > ODK. From what I can tell the Java Rosa code doesn't support > predicates in the xPath for the nodeset attribute in an itemset. Is > this correct? Has someone else already started working on this who I > could team up with? I'm grateful for any assitance that can point me > in the right direction and add this feature to ODK. > > Thanks a lot, > > John. > > > On Aug 2, 1:32 am, Sarah Bird wrote: >> Hi, >> >> I agree on the geographies, but there are plenty of other use cases that you >> can't use GPS for e.g. we were doing a study in Pakistan where school >> inspectors needed to select a correct school; we evaluated using this method >> in openXdata but in the end used a coding system as it was easier to >> implement quickly. But there are cases where this drill down method might >> have been easier. >> >> Anyway, will check out the select thing a little more, I'm not entirely sure >> I understand....can you elaborate "you can use the version of select that >> allows you to enter letters in the country's name so you don't have scroll >> through a long list of countries" - specifically, what do you mean by "the >> version of select" - sorry if i'm being stupid here. >> >> Best, >> >> Bird >> >> On Mon, Aug 1, 2011 at 10:07 PM, Gaetano Borriello < gaet...@cs.washington.edu> wrote: >> > I don't think this needs the more elaborate elements we are working on for >> > the future. You can do this now except maybe for Q3 depending on how many >> > possibly cities you want to list. >> >> > For Q1) only 7 here, no worries >> > For Q2) based on the answer of Q2, you can go to one of 7 different Q2s >> > that list the countries on each continent (you can use the version of select >> > that allows you to enter letters in the country's name so you don't have >> > scroll through a long list of countries). >> > For Q3) you can do the same as Q2 unless you want even very small cities >> > listed. >> >> > Another possibility is to just record GPS location and worry about >> > converting to a city and/or address later. >> >> > Gaetano >> >> > On Mon, Aug 1, 2011 at 8:26 PM, Sarah Bird wrote: >> >> >> Hi Gaetano, that's good to know, thanks - I'll try that out. >> >> >> What I specifically meant was, for example: >> >> Q1) List of Continents >> >> Q2) List of Countries - Only those associated with appropriate Continent >> >> (from Q1) appear >> >> Q3) List of Cities - Only those associated with appropriate Country (from >> >> Q2) appear >> >> >> There are other ways to handle the problem of wanting to get to the right >> >> field, so I'll have a go at the list filtering; I was just wondering about >> >> this feature as I was building a form in purcforms using "Single Select >> >> Dynamic" and the Validator seemed to indicate it wasn't valid and then I >> >> found this thread. >> >> >> Thanks, >> >> >> Bird >> >> >> On Mon, Aug 1, 2011 at 7:56 PM, Gaetano Borriello < gaet...@cs.washington.edu> wrote: >> >> >>> Sarah: >> >> >>> if by dynamic you mean choices pulled from a db based on some criteria >> >>> set earlier in the form, then we have a preliminary version working but it >> >>> is far from being ready for prime time. Are there any developer cycles in >> >>> your organization that could help us get this out? >> >> >>> We do have a larger range of select appearances available in 1.1.7 >> >>> including the ability to choose from a long list of choices by typing in a >> >>> few letters to get a filtered list. >> >> >>> Gaetano >> >> >>> On Mon, Aug 1, 2011 at 7:50 PM, Bird wrote: >> >> >>>> Is there any news on this? >> >> >>>> On Oct 4 2010, 1:22 pm, Yaw Anokwa wrote: >> >>>> > i think it's still high on the javarosa todo list, but the community >> >>>> > is swamped trying to push a v1.0 release. so many todos, so few >> >>>> > developers... >> >> >>>> > On Mon, Oct 4, 2010 at 11:27, Andrew Marder < andrew.n.mar...@gmail.com> wrote: >> >>>> > > Hi, >> >> >>>> > > I was wondering if there was any action on dynamic single selects, >> >>>> as >> >>>> > > discussed here: >> >> >>>>http://groups.google.com/group/opendatakit/browse_thread/thread/ba620. >> >>>> .. >> >> >>>> > > Andrew >> >> >>>> > > -- >> >>>> > > Post: opendatakit@googlegroups.com >> >>>> > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> >>>> > > Options:http://groups.google.com/group/opendatakit?hl=en >> >> >>>> -- >> >>>> Post: opendatakit@googlegroups.com >> >>>> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> >>>> Options:http://groups.google.com/group/opendatakit?hl=en >> >> >>> -- >> >>> Post: opendatakit@googlegroups.com >> >>> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> >>> Options:http://groups.google.com/group/opendatakit?hl=en >> >> >> -- >> >> Post: opendatakit@googlegroups.com >> >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> >> Options:http://groups.google.com/group/opendatakit?hl=en >> >> > -- >> > Post: opendatakit@googlegroups.com >> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> > Options:http://groups.google.com/group/opendatakit?hl=en > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >