One pager form not updating

I have a form where I have grouped together three chooseOne questions.

There is a relevancy so that that the first question is the source of which of the last two questions should be asked. Meaning, there are three questions, but only two should be answered.

This is party working. I have all questions grouped together in a one-pager (meaning that the option "Display On One Screen" is checked. When answering the first question it takes quite some time before the followup question is displayed. It takes so much time that a user is likely to just proceed without answering it.

Also, if I where miss click in question one and want to change my answer, then the second question is never updated. It is still stuck with the options for the old answer to the first question. However, if I do a "swipe right" to go back to the "start screen", and then "swipe left" again, the form is updated correctly.

I am using ODK Build. I do not mind modifying the XML. Can someone give me a hint on how to solve this? Or is this to be considered a bug within ODK Build?

You cannot place questions that depend upon other questions on the same
screen.

You need to place them on successive screens.

··· On Wed, Sep 2, 2015 at 10:02 PM, wrote:

I have a form where I have grouped together three chooseOne questions.

There is a relevancy so that that the first question is the source of
which of the last two questions should be asked. Meaning, there are three
questions, but only two should be answered.

This is party working. I have all questions grouped together in a
one-pager (meaning that the option "Display On One Screen" is checked. When
answering the first question it takes quite some time before the followup
question is displayed. It takes so much time that a user is likely to just
proceed without answering it.

Also, if I where miss click in question one and want to change my answer,
then the second question is never updated. It is still stuck with the
options for the old answer to the first question. However, if I do a "swipe
right" to go back to the "start screen", and then "swipe left" again, the
form is updated correctly.

I am using ODK Build. I do not mind modifying the XML. Can someone give me
a hint on how to solve this? Or is this to be considered a bug within ODK
Build?

--

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

May I ask why? For my use case (and others in the ODK Community) this would really make the form a lot more user friendly.

In the code, does the first question have a list of the relevancies "pointed to it"?

If so, for each "onchange" event on the first question, do something like invalidate() for each element in that list?

This may be solved differently. In my previous example I solved this using three questions. Is there a way I can do this using two questions, where the list of available options change dependant of another question?

If this can be done, then this would be preferable. Mostly because it would result in one data column rather than two.

Can't be done with the current code. Perhaps someone that forked code back
at 1.1.6 can do it, but the code was removed in 1.1.7. That was a long
time ago.

··· On Sun, Sep 6, 2015 at 10:37 PM, wrote:

This may be solved differently. In my previous example I solved this using
three questions. Is there a way I can do this using two questions, where
the list of available options change dependant of another question?

If this can be done, then this would be preferable. Mostly because it
would result in one data column rather than two.

--

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