Jumping between questions

Hi folks,

Was trying to find out if one can skip a question in ODK, say if the answer
is no to question 6, jump straight to question 12.

Is this possible?!

··· -- Mark

Upande
P.O. Box 30439-00100
Nairobi, Kenya


mobile: +254 713 234 798 (Kenya)
mobile: +31 (0) 626521452 (Netherlands)
skype: markdeblois
linkedin: http://www.linkedin.com/in/markdeblois
twitter: http://twitter.com/mdeblois

hi mark,

in xforms lingo, skip logic is called relevance. for your example,
you'd have to do something like this:

https://bitbucket.org/javarosa/javarosa/wiki/buildxforms (under skip
logic) has a more detailed explanation.

yaw

··· On Thu, Jun 30, 2011 at 02:12, Mark de Blois wrote: > Hi folks, > > Was trying to find out if one can skip a question in ODK, say if the answer > is no to question 6, jump straight to question 12. > > Is this possible?! > > -- > Mark > > Upande > P.O. Box 30439-00100 > Nairobi, Kenya > > www.upande.com > mobile: +254 713 234 798 (Kenya) > mobile: +31 (0) 626521452 (Netherlands) > skype: markdeblois > linkedin: http://www.linkedin.com/in/markdeblois > twitter: http://twitter.com/mdeblois > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >

Hi Mark,

When I want to skip a bunch of questions, I will often put those
questions in a group and set the relevant attribute for the group
rather than each individual question.

I've run into some problems when I try to use this technique on
repeating groups, when the group is irrelevant ODK 1.1.5 still asks
whether I would like to add a group of these questions. I'm not sure
if this is a bug in my code or in ODK Collect 1.1.5. Just wanted to
let you know that I haven't mastered this approach.

Andrew

··· On Thu, Jun 30, 2011 at 10:48 AM, Yaw Anokwa wrote: > hi mark, > > in xforms lingo, skip logic is called relevance. for your example, > you'd have to do something like this: > > > > https://bitbucket.org/javarosa/javarosa/wiki/buildxforms (under skip > logic) has a more detailed explanation. > > yaw > > On Thu, Jun 30, 2011 at 02:12, Mark de Blois wrote: >> Hi folks, >> >> Was trying to find out if one can skip a question in ODK, say if the answer >> is no to question 6, jump straight to question 12. >> >> Is this possible?! >> >> -- >> Mark >> >> Upande >> P.O. Box 30439-00100 >> Nairobi, Kenya >> >> www.upande.com >> mobile: +254 713 234 798 (Kenya) >> mobile: +31 (0) 626521452 (Netherlands) >> skype: markdeblois >> linkedin: http://www.linkedin.com/in/markdeblois >> twitter: http://twitter.com/mdeblois >> >> -- >> 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 >

andrew,

do you have a form where this is occuring that you can share?

yaw

··· On Thu, Jun 30, 2011 at 10:40, Andrew Marder wrote: > Hi Mark, > > When I want to skip a bunch of questions, I will often put those > questions in a group and set the relevant attribute for the group > rather than each individual question. > > I've run into some problems when I try to use this technique on > repeating groups, when the group is irrelevant ODK 1.1.5 still asks > whether I would like to add a group of these questions. I'm not sure > if this is a bug in my code or in ODK Collect 1.1.5. Just wanted to > let you know that I haven't mastered this approach. > > Andrew > > On Thu, Jun 30, 2011 at 10:48 AM, Yaw Anokwa wrote: >> hi mark, >> >> in xforms lingo, skip logic is called relevance. for your example, >> you'd have to do something like this: >> >> >> >> https://bitbucket.org/javarosa/javarosa/wiki/buildxforms (under skip >> logic) has a more detailed explanation. >> >> yaw >> >> On Thu, Jun 30, 2011 at 02:12, Mark de Blois wrote: >>> Hi folks, >>> >>> Was trying to find out if one can skip a question in ODK, say if the answer >>> is no to question 6, jump straight to question 12. >>> >>> Is this possible?! >>> >>> -- >>> Mark >>> >>> Upande >>> P.O. Box 30439-00100 >>> Nairobi, Kenya >>> >>> www.upande.com >>> mobile: +254 713 234 798 (Kenya) >>> mobile: +31 (0) 626521452 (Netherlands) >>> skype: markdeblois >>> linkedin: http://www.linkedin.com/in/markdeblois >>> twitter: http://twitter.com/mdeblois >>> >>> -- >>> 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 Yaw,

I've attached a form that's giving me problems in ODK Collect 1.1.5.
Curious to hear what you find,

Andrew

repeat_test_2011_06_30.xml (1.47 KB)

··· On Thu, Jun 30, 2011 at 1:10 PM, Yaw Anokwa wrote: > andrew, > > do you have a form where this is occuring that you can share? > > yaw > > On Thu, Jun 30, 2011 at 10:40, Andrew Marder wrote: >> Hi Mark, >> >> When I want to skip a bunch of questions, I will often put those >> questions in a group and set the relevant attribute for the group >> rather than each individual question. >> >> I've run into some problems when I try to use this technique on >> repeating groups, when the group is irrelevant ODK 1.1.5 still asks >> whether I would like to add a group of these questions. I'm not sure >> if this is a bug in my code or in ODK Collect 1.1.5. Just wanted to >> let you know that I haven't mastered this approach. >> >> Andrew >> >> On Thu, Jun 30, 2011 at 10:48 AM, Yaw Anokwa wrote: >>> hi mark, >>> >>> in xforms lingo, skip logic is called relevance. for your example, >>> you'd have to do something like this: >>> >>> >>> >>> https://bitbucket.org/javarosa/javarosa/wiki/buildxforms (under skip >>> logic) has a more detailed explanation. >>> >>> yaw >>> >>> On Thu, Jun 30, 2011 at 02:12, Mark de Blois wrote: >>>> Hi folks, >>>> >>>> Was trying to find out if one can skip a question in ODK, say if the answer >>>> is no to question 6, jump straight to question 12. >>>> >>>> Is this possible?! >>>> >>>> -- >>>> Mark >>>> >>>> Upande >>>> P.O. Box 30439-00100 >>>> Nairobi, Kenya >>>> >>>> www.upande.com >>>> mobile: +254 713 234 798 (Kenya) >>>> mobile: +31 (0) 626521452 (Netherlands) >>>> skype: markdeblois >>>> linkedin: http://www.linkedin.com/in/markdeblois >>>> twitter: http://twitter.com/mdeblois >>>> >>>> -- >>>> 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 also want to skip a group of questions rather then each individual
question. Sorry if this is a silly question but, since no 'advanced'
options appear in group properties, where do I do this? Directly in
the XForm?

Many thanks,
Glyn

··· On Jun 30, 10:40 pm, Andrew Marder wrote: > Hi Mark, > > When I want toskipa bunch of questions, I will often put those > questions in agroupand set the relevant attribute for thegroup > rather than each individual question. > > I've run into some problems when I try to use this technique on > repeating groups, when thegroupis irrelevant ODK 1.1.5 still asks > whether I would like to add agroupof these questions. I'm not sure > if this is a bug in my code or in ODK Collect 1.1.5. Just wanted to > let you know that I haven't mastered this approach. > > Andrew > > > > > > > > On Thu, Jun 30, 2011 at 10:48 AM, Yaw Anokwa wrote: > > hi mark, > > > in xforms lingo,skiplogic is called relevance. for your example, > > you'd have to do something like this: > > > > > >https://bitbucket.org/javarosa/javarosa/wiki/buildxforms(underskip > > logic) has a more detailed explanation. > > > yaw > > > On Thu, Jun 30, 2011 at 02:12, Mark de Blois wrote: > >> Hi folks, > > >> Was trying to find out if one canskipa question in ODK, say if the answer > >> is no to question 6, jump straight to question 12. > > >> Is this possible?! > > >> -- > >> Mark > > >> Upande > >> P.O. Box 30439-00100 > >> Nairobi, Kenya > > >>www.upande.com > >> mobile: +254 713 234 798 (Kenya) > >> mobile: +31 (0) 626521452 (Netherlands) > >> skype: markdeblois > >> linkedin:http://www.linkedin.com/in/markdeblois > >> twitter:http://twitter.com/mdeblois > > >> -- > >> 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

looks like it works in 1.1.7. i'm assuming you'll be ok until we
finish the beta testing?

··· On Thu, Jun 30, 2011 at 14:20, Andrew Marder wrote: > Hi Yaw, > > I've attached a form that's giving me problems in ODK Collect 1.1.5. > Curious to hear what you find, > > Andrew > > On Thu, Jun 30, 2011 at 1:10 PM, Yaw Anokwa wrote: >> andrew, >> >> do you have a form where this is occuring that you can share? >> >> yaw >> >> On Thu, Jun 30, 2011 at 10:40, Andrew Marder wrote: >>> Hi Mark, >>> >>> When I want to skip a bunch of questions, I will often put those >>> questions in a group and set the relevant attribute for the group >>> rather than each individual question. >>> >>> I've run into some problems when I try to use this technique on >>> repeating groups, when the group is irrelevant ODK 1.1.5 still asks >>> whether I would like to add a group of these questions. I'm not sure >>> if this is a bug in my code or in ODK Collect 1.1.5. Just wanted to >>> let you know that I haven't mastered this approach. >>> >>> Andrew >>> >>> On Thu, Jun 30, 2011 at 10:48 AM, Yaw Anokwa wrote: >>>> hi mark, >>>> >>>> in xforms lingo, skip logic is called relevance. for your example, >>>> you'd have to do something like this: >>>> >>>> >>>> >>>> https://bitbucket.org/javarosa/javarosa/wiki/buildxforms (under skip >>>> logic) has a more detailed explanation. >>>> >>>> yaw >>>> >>>> On Thu, Jun 30, 2011 at 02:12, Mark de Blois wrote: >>>>> Hi folks, >>>>> >>>>> Was trying to find out if one can skip a question in ODK, say if the answer >>>>> is no to question 6, jump straight to question 12. >>>>> >>>>> Is this possible?! >>>>> >>>>> -- >>>>> Mark >>>>> >>>>> Upande >>>>> P.O. Box 30439-00100 >>>>> Nairobi, Kenya >>>>> >>>>> www.upande.com >>>>> mobile: +254 713 234 798 (Kenya) >>>>> mobile: +31 (0) 626521452 (Netherlands) >>>>> skype: markdeblois >>>>> linkedin: http://www.linkedin.com/in/markdeblois >>>>> twitter: http://twitter.com/mdeblois >>>>> >>>>> -- >>>>> 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 >

Hello!
Same here.
It would be possible to set relevance attr in a group?

Thanks

··· On Jul 11, 8:21 am, Glyn Alcock wrote: > Hi, > > I also want to skip a group of questions rather then each individual > question. Sorry if this is a silly question but, since no 'advanced' > options appear in group properties, where do I do this? Directly in > the XForm? > > Many thanks, > Glyn > > On Jun 30, 10:40 pm, Andrew Marder wrote: > > > > > > > > > Hi Mark, > > > When I want toskipa bunch of questions, I will often put those > > questions in agroupand set the relevant attribute for thegroup > > rather than each individual question. > > > I've run into some problems when I try to use this technique on > > repeating groups, when thegroupis irrelevant ODK 1.1.5 still asks > > whether I would like to add agroupof these questions. I'm not sure > > if this is a bug in my code or in ODK Collect 1.1.5. Just wanted to > > let you know that I haven't mastered this approach. > > > Andrew > > > On Thu, Jun 30, 2011 at 10:48 AM, Yaw Anokwa wrote: > > > hi mark, > > > > in xforms lingo,skiplogic is called relevance. for your example, > > > you'd have to do something like this: > > > > > > > >https://bitbucket.org/javarosa/javarosa/wiki/buildxforms(underskip > > > logic) has a more detailed explanation. > > > > yaw > > > > On Thu, Jun 30, 2011 at 02:12, Mark de Blois wrote: > > >> Hi folks, > > > >> Was trying to find out if one canskipa question in ODK, say if the answer > > >> is no to question 6, jump straight to question 12. > > > >> Is this possible?! > > > >> -- > > >> Mark > > > >> Upande > > >> P.O. Box 30439-00100 > > >> Nairobi, Kenya > > > >>www.upande.com > > >> mobile: +254 713 234 798 (Kenya) > > >> mobile: +31 (0) 626521452 (Netherlands) > > >> skype: markdeblois > > >> linkedin:http://www.linkedin.com/in/markdeblois > > >> twitter:http://twitter.com/mdeblois > > > >> -- > > >> 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

Great, I'm glad it looks good in 1.1.7.

··· On Thu, Jun 30, 2011 at 5:42 PM, Yaw Anokwa wrote: > looks like it works in 1.1.7. i'm assuming you'll be ok until we > finish the beta testing? > > On Thu, Jun 30, 2011 at 14:20, Andrew Marder wrote: >> Hi Yaw, >> >> I've attached a form that's giving me problems in ODK Collect 1.1.5. >> Curious to hear what you find, >> >> Andrew >> >> On Thu, Jun 30, 2011 at 1:10 PM, Yaw Anokwa wrote: >>> andrew, >>> >>> do you have a form where this is occuring that you can share? >>> >>> yaw >>> >>> On Thu, Jun 30, 2011 at 10:40, Andrew Marder wrote: >>>> Hi Mark, >>>> >>>> When I want to skip a bunch of questions, I will often put those >>>> questions in a group and set the relevant attribute for the group >>>> rather than each individual question. >>>> >>>> I've run into some problems when I try to use this technique on >>>> repeating groups, when the group is irrelevant ODK 1.1.5 still asks >>>> whether I would like to add a group of these questions. I'm not sure >>>> if this is a bug in my code or in ODK Collect 1.1.5. Just wanted to >>>> let you know that I haven't mastered this approach. >>>> >>>> Andrew >>>> >>>> On Thu, Jun 30, 2011 at 10:48 AM, Yaw Anokwa wrote: >>>>> hi mark, >>>>> >>>>> in xforms lingo, skip logic is called relevance. for your example, >>>>> you'd have to do something like this: >>>>> >>>>> >>>>> >>>>> https://bitbucket.org/javarosa/javarosa/wiki/buildxforms (under skip >>>>> logic) has a more detailed explanation. >>>>> >>>>> yaw >>>>> >>>>> On Thu, Jun 30, 2011 at 02:12, Mark de Blois wrote: >>>>>> Hi folks, >>>>>> >>>>>> Was trying to find out if one can skip a question in ODK, say if the answer >>>>>> is no to question 6, jump straight to question 12. >>>>>> >>>>>> Is this possible?! >>>>>> >>>>>> -- >>>>>> Mark >>>>>> >>>>>> Upande >>>>>> P.O. Box 30439-00100 >>>>>> Nairobi, Kenya >>>>>> >>>>>> www.upande.com >>>>>> mobile: +254 713 234 798 (Kenya) >>>>>> mobile: +31 (0) 626521452 (Netherlands) >>>>>> skype: markdeblois >>>>>> linkedin: http://www.linkedin.com/in/markdeblois >>>>>> twitter: http://twitter.com/mdeblois >>>>>> >>>>>> -- >>>>>> 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,

you can set relevance in a group if you use collect 1.1.7. it's not in
build yet, but shouldn't be too hard. i've filed a bug at
http://code.google.com/p/opendatakit/issues/detail?id=258.

in the meanwhile, you'll have to tweak the xform by hand if you want
relevance on groups.

yaw

··· On Mon, Jul 11, 2011 at 11:23, Thales wrote: > Hello! > Same here. > It would be possible to set relevance attr in a group? > > Thanks > > On Jul 11, 8:21 am, Glyn Alcock wrote: >> Hi, >> >> I also want to skip a group of questions rather then each individual >> question. Sorry if this is a silly question but, since no 'advanced' >> options appear in group properties, where do I do this? Directly in >> the XForm? >> >> Many thanks, >> Glyn >> >> On Jun 30, 10:40 pm, Andrew Marder wrote: >> >> >> >> >> >> >> >> > Hi Mark, >> >> > When I want toskipa bunch of questions, I will often put those >> > questions in agroupand set the relevant attribute for thegroup >> > rather than each individual question. >> >> > I've run into some problems when I try to use this technique on >> > repeating groups, when thegroupis irrelevant ODK 1.1.5 still asks >> > whether I would like to add agroupof these questions. I'm not sure >> > if this is a bug in my code or in ODK Collect 1.1.5. Just wanted to >> > let you know that I haven't mastered this approach. >> >> > Andrew >> >> > On Thu, Jun 30, 2011 at 10:48 AM, Yaw Anokwa wrote: >> > > hi mark, >> >> > > in xforms lingo,skiplogic is called relevance. for your example, >> > > you'd have to do something like this: >> >> > > >> >> > >https://bitbucket.org/javarosa/javarosa/wiki/buildxforms(underskip >> > > logic) has a more detailed explanation. >> >> > > yaw >> >> > > On Thu, Jun 30, 2011 at 02:12, Mark de Blois wrote: >> > >> Hi folks, >> >> > >> Was trying to find out if one canskipa question in ODK, say if the answer >> > >> is no to question 6, jump straight to question 12. >> >> > >> Is this possible?! >> >> > >> -- >> > >> Mark >> >> > >> Upande >> > >> P.O. Box 30439-00100 >> > >> Nairobi, Kenya >> >> > >>www.upande.com >> > >> mobile: +254 713 234 798 (Kenya) >> > >> mobile: +31 (0) 626521452 (Netherlands) >> > >> skype: markdeblois >> > >> linkedin:http://www.linkedin.com/in/markdeblois >> > >> twitter:http://twitter.com/mdeblois >> >> > >> -- >> > >> 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 >