Dear Lingstone,
For PROBLEM 1, you could calculate the value for QUESTION C as the
residual, and then confirm that with the user. The confirmation could be as
simple as a note field that shows the calculated number of females and says
to go back and change one of the prior responses if it's not correct.
SurveyCTO does allow you to calculate the default value for a field (not
a standard ODK capability) -- but it doesn't seem like it's strictly
necessary here.
For PROBLEM 2, it seems like your best bet is to keep everything in one
form. If that's not possible, you would need to collect the parent data
first, then upload that as pre-loaded data for the child form, then fill
out all of the child forms.
ODK 2.0 will allow far more graceful workflows, I believe, wherein FORM
B could directly reference data from FORM A. SurveyCTO today goes part of
the way there, by allowing you to stream data from FORM A into a dataset
that is attached to FORM B... but for FORM B to have the latest data from
FORM A, first you need to upload FORM A to the server, then wait 10
minutes, then FORM B will auto-update its attached data to include the
latest FORM A data. Obviously, that requires a data connection, which may
or may not be available in the field. Today's SurveyCTO automates the
workflow for including some forms' data in other forms, but it doesn't do
it offline or quite in real-time.
Best,
Chris
On Wed, Jul 23, 2014 at 2:16 PM, chium...@gmail.com wrote:
Hi Mitch,
I have a similar problem (actually two) and went on to check out the
link you provided (which I must say I have visited plenty times before in
search for a solution to my problems). The data must pre-exisit for the
pre-load to work, according to the link. I am looking for something that
will use data as it is being collected.
I will use very specific examples to describe what I want to achieve
(I'm using Excel to design the form, and play around with the resulting XML
file too if need be).
PROBLEM 1:
SURVEY QUESTIONS (ALL IN ONE FORM):
Question A: How many employees do you have?
Question B: Of these, how many are males?
Question C: How many are females?
Obviously, it wouldn't make sense to pose Question C to the respondent.
It is also a good idea to have it pre-filled to avoid errors from the
interviewer. I am looking for a way to do a calculation before Question C
and use the result as a default value (or have it pre-loaded) in the answer
field for Question C.
PROBLEM 2:
FORM A: Parents
Question 1: Enter parent's full name.
FORM B: Children
Question 1: Select parent.
Question 2: Enter child's full name.
My problem here is that I want Question 1 of Form B to dynamically
populate the choice-list from the parent's names that have been entered
using Question 1 in Form A. The aim is to avoid re-capturing the parent
name in Form B.
Many thanks for the assistance.
Lingstone Chiume.
--
--
Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi I have similar problem mention by Lingstone. However I keep two
seperate form in one place. But I couldn't able to link choice list with
previous question answer.
Please help.
Thanks