Sub Location - Based on Location

I have a requirement to show list of subloation based on Location

Example:
Location: US
Sub Location:
Newyork
Washington
Chicago

Location: UK
Sub Location
London
Oxford
Ireland

Please suggest how to control list options on the basis of response in one
list.

Regards
techbyte101

Use cascading selects.
http://opendatakit.org/help/form-design/cascading-selects. If you are
using XLS Form, see the Cascading Selects section at
http://opendatakit.org/help/form-design/xlsform/.

Yaw

··· -- Need ODK help? Go to http://nafundi.com for custom development, form design, implementation support, and user training for ODK.

On Fri, Feb 22, 2013 at 10:11 PM, techbyte techbyte101@gmail.com wrote:

I have a requirement to show list of subloation based on Location

Example:
Location: US
Sub Location:
Newyork
Washington
Chicago

Location: UK
Sub Location
London
Oxford
Ireland

Please suggest how to control list options on the basis of response in one
list.

Regards
techbyte101

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Thanks.

I looked at the reference and try to use in my form. I need only 2 levels
state and county, somehow it showing empty drop down without label.

Please see attached file if you can help.

Regards
techbyte101

Fabric Care_v9.xml (93 KB)

··· On Saturday, February 23, 2013 11:43:56 AM UTC+5:30, Yaw Anokwa wrote: > > Use cascading selects. > http://opendatakit.org/help/form-design/cascading-selects. If you are > using XLS Form, see the Cascading Selects section at > http://opendatakit.org/help/form-design/xlsform/. > > Yaw > -- > Need ODK help? Go to http://nafundi.com for custom development, form > design, implementation support, and user training for ODK. > > On Fri, Feb 22, 2013 at 10:11 PM, techbyte <techb...@gmail.com> wrote: > > I have a requirement to show list of subloation based on Location > > > > Example: > > Location: US > > Sub Location: > > Newyork > > Washington > > Chicago > > > > Location: UK > > Sub Location > > London > > Oxford > > Ireland > > > > Please suggest how to control list options on the basis of response in > one > > list. > > > > Regards > > techbyte101 > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "ODK Developers" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to opendatakit-developers+unsubscribe@googlegroups.com. > > > For more options, visit https://groups.google.com/groups/opt_out. > > > > >

Able to show labels, but still values are not coming in drop down.

Fabric Care_v9.xml (93.8 KB)

··· On Sunday, February 24, 2013 10:04:21 PM UTC+5:30, techbyte wrote: > > Thanks. > > I looked at the reference and try to use in my form. I need only 2 levels > state and county, somehow it showing empty drop down without label. > > Please see attached file if you can help. > > Regards > techbyte101 > > > On Saturday, February 23, 2013 11:43:56 AM UTC+5:30, Yaw Anokwa wrote: >> >> Use cascading selects. >> http://opendatakit.org/help/form-design/cascading-selects. If you are >> using XLS Form, see the Cascading Selects section at >> http://opendatakit.org/help/form-design/xlsform/. >> >> Yaw >> -- >> Need ODK help? Go to http://nafundi.com for custom development, form >> design, implementation support, and user training for ODK. >> >> On Fri, Feb 22, 2013 at 10:11 PM, techbyte wrote: >> > I have a requirement to show list of subloation based on Location >> > >> > Example: >> > Location: US >> > Sub Location: >> > Newyork >> > Washington >> > Chicago >> > >> > Location: UK >> > Sub Location >> > London >> > Oxford >> > Ireland >> > >> > Please suggest how to control list options on the basis of response in >> one >> > list. >> > >> > Regards >> > techbyte101 >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "ODK Developers" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an >> > email to opendatakit-developers+unsubscribe@googlegroups.com. >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > >> >

I am trying to use cascading select in my form (state and county). Getting
below error on validation

Selection choice label text and image uri are both missing for:
/data/QuestProfile/state choice: 1.

Selection choice label text and image uri are both missing for:
/data/QuestProfile/state choice: 2.

Dynamic select question has no choices!
[instance(choices)/states/state/counties/county]. If this occurs while
filling out a form (and not while saving an incomplete form), the filter
condition may have eliminated all the choices. Is that what you intended?

Fabric Care_v9.xml (94.1 KB)

··· -----------------------------------

On Sunday, February 24, 2013 10:26:45 PM UTC+5:30, techbyte wrote:

Able to show labels, but still values are not coming in drop down.

On Sunday, February 24, 2013 10:04:21 PM UTC+5:30, techbyte wrote:

Thanks.

I looked at the reference and try to use in my form. I need only 2 levels
state and county, somehow it showing empty drop down without label.

Please see attached file if you can help.

Regards
techbyte101

On Saturday, February 23, 2013 11:43:56 AM UTC+5:30, Yaw Anokwa wrote:

Use cascading selects.
http://opendatakit.org/help/form-design/cascading-selects. If you are
using XLS Form, see the Cascading Selects section at
http://opendatakit.org/help/form-design/xlsform/.

Yaw

Need ODK help? Go to http://nafundi.com for custom development, form
design, implementation support, and user training for ODK.

On Fri, Feb 22, 2013 at 10:11 PM, techbyte techb...@gmail.com wrote:

I have a requirement to show list of subloation based on Location

Example:
Location: US
Sub Location:
Newyork
Washington
Chicago

Location: UK
Sub Location
London
Oxford
Ireland

Please suggest how to control list options on the basis of response in
one
list.

Regards
techbyte101

--
You received this message because you are subscribed to the Google
Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

The first two errors are of concern. The last (dynamic select question has
no choices) is not.

The first two errors say that for choice '1' and '2', you specified an item
value, but there is no item label or no image icon for the item. You must
have at least one of those in order to render that choice selection to the
user.

The last error just communicates that you're using a cascading select where
the available choices are dependent upon values specified earlier in the
form. Since those values are all blank (because we haven't filled in the
form), the validation logic sees the list of choices as being blank too
(since the values in the filtering conditions are all blank, those
filtering conditions fail, and you end up with no choices).

Mitch

··· On Tue, Feb 26, 2013 at 6:11 AM, techbyte wrote:

I am trying to use cascading select in my form (state and county). Getting
below error on validation

Selection choice label text and image uri are both missing for:
/data/QuestProfile/state choice: 1.

Selection choice label text and image uri are both missing for:
/data/QuestProfile/state choice: 2.

Dynamic select question has no choices!
[instance(choices)/states/state/counties/county]. If this occurs while
filling out a form (and not while saving an incomplete form), the filter
condition may have eliminated all the choices. Is that what you intended?


On Sunday, February 24, 2013 10:26:45 PM UTC+5:30, techbyte wrote:

Able to show labels, but still values are not coming in drop down.

On Sunday, February 24, 2013 10:04:21 PM UTC+5:30, techbyte wrote:

Thanks.

I looked at the reference and try to use in my form. I need only 2
levels state and county, somehow it showing empty drop down without label.

Please see attached file if you can help.

Regards
techbyte101

On Saturday, February 23, 2013 11:43:56 AM UTC+5:30, Yaw Anokwa wrote:

Use cascading selects.
http://opendatakit.org/help/**form-design/cascading-selectshttp://opendatakit.org/help/form-design/cascading-selects.
If you are
using XLS Form, see the Cascading Selects section at
http://opendatakit.org/help/**form-design/xlsform/http://opendatakit.org/help/form-design/xlsform/.

Yaw

Need ODK help? Go to http://nafundi.com for custom development, form
design, implementation support, and user training for ODK.

On Fri, Feb 22, 2013 at 10:11 PM, techbyte techb...@gmail.com wrote:

I have a requirement to show list of subloation based on Location

Example:
Location: US
Sub Location:
Newyork
Washington
Chicago

Location: UK
Sub Location
London
Oxford
Ireland

Please suggest how to control list options on the basis of response
in one
list.

Regards
techbyte101

--
You received this message because you are subscribed to the Google
Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it,
send an
email to opendatakit-developers+**unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

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

Able to remove errors and to show data in first DropDown

But second drop down still not getting populated on the basis of first.

Please see attached form and help

Fabric Care_v9.xml (94.6 KB)

··· On Wednesday, February 27, 2013 12:15:12 AM UTC+5:30, Mitch wrote: > > The first two errors are of concern. The last (dynamic select question has > no choices) is not. > > The first two errors say that for choice '1' and '2', you specified an > item value, but there is no item label or no image icon for the item. You > must have at least one of those in order to render that choice selection to > the user. > > The last error just communicates that you're using a cascading select > where the available choices are dependent upon values specified earlier in > the form. Since those values are all blank (because we haven't filled in > the form), the validation logic sees the list of choices as being blank too > (since the values in the filtering conditions are all blank, those > filtering conditions fail, and you end up with no choices). > > Mitch > > On Tue, Feb 26, 2013 at 6:11 AM, techbyte <techb...@gmail.com wrote: > >> I am trying to use cascading select in my form (state and county). >> Getting below error on validation >> >> Selection choice label text and image uri are both missing for: >> /data/QuestProfile/state choice: 1. >> >> Selection choice label text and image uri are both missing for: >> /data/QuestProfile/state choice: 2. >> >> Dynamic select question has no choices! >> [instance(choices)/states/state/counties/county]. If this occurs while >> filling out a form (and not while saving an incomplete form), the filter >> condition may have eliminated all the choices. Is that what you intended? >> >> >> ----------------------------------- >> >> >> >> On Sunday, February 24, 2013 10:26:45 PM UTC+5:30, techbyte wrote: >>> >>> Able to show labels, but still values are not coming in drop down. >>> >>> >>> On Sunday, February 24, 2013 10:04:21 PM UTC+5:30, techbyte wrote: >>>> >>>> Thanks. >>>> >>>> I looked at the reference and try to use in my form. I need only 2 >>>> levels state and county, somehow it showing empty drop down without label. >>>> >>>> Please see attached file if you can help. >>>> >>>> Regards >>>> techbyte101 >>>> >>>> >>>> On Saturday, February 23, 2013 11:43:56 AM UTC+5:30, Yaw Anokwa wrote: >>>>> >>>>> Use cascading selects. >>>>> http://opendatakit.org/help/**form-design/cascading-selects. >>>>> If you are >>>>> using XLS Form, see the Cascading Selects section at >>>>> http://opendatakit.org/help/**form-design/xlsform/. >>>>> >>>>> >>>>> Yaw >>>>> -- >>>>> Need ODK help? Go to http://nafundi.com for custom development, form >>>>> design, implementation support, and user training for ODK. >>>>> >>>>> On Fri, Feb 22, 2013 at 10:11 PM, techbyte wrote: >>>>> > I have a requirement to show list of subloation based on Location >>>>> > >>>>> > Example: >>>>> > Location: US >>>>> > Sub Location: >>>>> > Newyork >>>>> > Washington >>>>> > Chicago >>>>> > >>>>> > Location: UK >>>>> > Sub Location >>>>> > London >>>>> > Oxford >>>>> > Ireland >>>>> > >>>>> > Please suggest how to control list options on the basis of response >>>>> in one >>>>> > list. >>>>> > >>>>> > Regards >>>>> > techbyte101 >>>>> > >>>>> > -- >>>>> > You received this message because you are subscribed to the Google >>>>> Groups >>>>> > "ODK Developers" group. >>>>> > To unsubscribe from this group and stop receiving emails from it, >>>>> send an >>>>> > email to opendatakit-developers+**unsubscribe@googlegroups.com. >>>>> > For more options, visit https://groups.google.com/**groups/opt_out. >>>>> >>>>> > >>>>> > >>>>> >>>> -- >> You received this message because you are subscribed to the Google Groups >> "ODK Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to opendatakit-developers+unsubscribe@googlegroups.com >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com

ODK Collect does not support having one question on a screen with value
dependencies on another.

In this case, you have both the State and County drop-downs shown on the
same screen (field-list group).

Since County values are dependent upon State values, this causes a
problem.

The solution is to as for the State on one screen, then on a subsequent
screen, ask for the County.

Otherwise, your form works -- if you select a State then swipe forward and
backward, the County drop-down now has the correct list of counties for the
chosen State.

Mitch

··· On Wed, Feb 27, 2013 at 7:05 AM, techbyte wrote:

Able to remove errors and to show data in first DropDown

But second drop down still not getting populated on the basis of first.

Please see attached form and help

On Wednesday, February 27, 2013 12:15:12 AM UTC+5:30, Mitch wrote:

The first two errors are of concern. The last (dynamic select question
has no choices) is not.

The first two errors say that for choice '1' and '2', you specified an
item value, but there is no item label or no image icon for the item. You
must have at least one of those in order to render that choice selection to
the user.

The last error just communicates that you're using a cascading select
where the available choices are dependent upon values specified earlier in
the form. Since those values are all blank (because we haven't filled in
the form), the validation logic sees the list of choices as being blank too
(since the values in the filtering conditions are all blank, those
filtering conditions fail, and you end up with no choices).

Mitch

On Tue, Feb 26, 2013 at 6:11 AM, techbyte techb...@gmail.com wrote:

I am trying to use cascading select in my form (state and county).
Getting below error on validation

Selection choice label text and image uri are both missing for:
/data/QuestProfile/state choice: 1.

Selection choice label text and image uri are both missing for:
/data/QuestProfile/state choice: 2.

Dynamic select question has no choices! [instance(choices)/states/**state/counties/county].
If this occurs while filling out a form (and not while saving an incomplete
form), the filter condition may have eliminated all the choices. Is that
what you intended?

------------------------------**-----

On Sunday, February 24, 2013 10:26:45 PM UTC+5:30, techbyte wrote:

Able to show labels, but still values are not coming in drop down.

On Sunday, February 24, 2013 10:04:21 PM UTC+5:30, techbyte wrote:

Thanks.

I looked at the reference and try to use in my form. I need only 2
levels state and county, somehow it showing empty drop down without label.

Please see attached file if you can help.

Regards
techbyte101

On Saturday, February 23, 2013 11:43:56 AM UTC+5:30, Yaw Anokwa wrote:

Use cascading selects.
http://opendatakit.org/help/**fo**rm-design/cascading-selectshttp://opendatakit.org/help/form-design/cascading-selects.
If you are
using XLS Form, see the Cascading Selects section at
http://opendatakit.org/help/**fo**rm-design/xlsform/http://opendatakit.org/help/form-design/xlsform/.

Yaw

Need ODK help? Go to http://nafundi.com for custom development, form
design, implementation support, and user training for ODK.

On Fri, Feb 22, 2013 at 10:11 PM, techbyte techb...@gmail.com wrote:

I have a requirement to show list of subloation based on Location

Example:
Location: US
Sub Location:
Newyork
Washington
Chicago

Location: UK
Sub Location
London
Oxford
Ireland

Please suggest how to control list options on the basis of response
in one
list.

Regards
techbyte101

--
You received this message because you are subscribed to the Google
Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it,
send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/**grou**
ps/opt_out https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google
Groups "ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+**unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
.

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

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

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