kobotoolbox / koboform

A Java/GWT based formbuilder (no longer supported). Replaced by dkobo.
2 stars 8 forks source link

KoBoForm, edit Blocks of Skip Logic, fails to apply to all questions properly. #10

Closed Dylan-Gillespie closed 11 years ago

Dylan-Gillespie commented 11 years ago

From neil.hen...@kobotoolbox.org on February 29, 2012 09:40:05

What steps will reproduce the problem? 1. Create a question

  1. Add skip logic, apply skip logic to a group of questions 3. For the first task, I would like to set up the survey form so that when an enumerator selects "No" to "Is anyone in your household involved in farming? (A16)" it skips directly to "This is the end of our interview. Thank you. (A262)"

Here are the steps that I then take:

1) Select "Are you the Household Head?" (A17). Show advanced properties. Select Skip Logic Tab. 2) Select Add question "Is anyone in your household involved in farming? (A16)" "is equal to" "Yes" 3) Select 4) Select all questions between (and including) "Are you the main person involved in farming..." to A261, place them in the "selected questions" column. Click Ok.

Yay, that works. When selecting other questions that fall in the (linear) range of A16 and A262, the condition appears in the Skip Logic tab and when I load the form on my phone, it works like magic.

However, when I try to add an additional condition to the remaining questions, things get dicey.

For the second task, I would like to set up the survey form so that when an enumerator selects "Yes" to "Are you the main person involved in farming in your household? (A18)" it skips directly to "Are you at least 18 years old? (A21)".

Here are the steps that I then take:

1) Select "If no, is the household head or main farmer available to be interviewed? (A19)". Show advanced properties. Select Skip Logic Tab. 2) Select Add question "Are you the main person involved in farming in your household? (A18)" "is equal to" "No"

Now, see that that condition has been applied to all of the questions that had the first condition (not skip if "Is anyone in your household involved in farming? (A16)" "is equal to" "Yes").

I should also add, that when I add the first condition one by one instead of selecting "" and adding the condition to a group of questions at a time, I still encounter the same issue.

Attachment: FED Baseline Survey V1 E19(2).xml

Original issue: http://code.google.com/p/kobo/issues/detail?id=10

Dylan-Gillespie commented 11 years ago

From mojote...@gmail.com on April 26, 2012 16:05:46

Labels: KoBoForm

Dylan-Gillespie commented 11 years ago

From mojote...@gmail.com on April 26, 2012 16:18:49

Labels: -KoBoForm app-KoBoForm

Dylan-Gillespie commented 11 years ago

From john.eth...@gmail.com on May 03, 2012 10:02:14

This issue was closed by revision 738a44857248 .

Status: Fixed

Dylan-Gillespie commented 11 years ago

From neil.hen...@kobotoolbox.org on May 03, 2012 10:08:38

Good one, John. That was a weird bug.