Event logs

I wan to create event logs. i.e. record a time stamp for each questioner in
the form.
I basically want to record these time stamps to know the time taken to fill
the answer for a question

··· -- Regards Madhur 9718345506

You can create a Start and End field that javarosa preloads to record the
time that the form is opened and the time that it is closed. If you have
nodes named 'start' and 'end' then all the work is done in the BIND like
this:

  <bind id="start" nodeset="/FourDigits/start" type="xsd:time"

jr:preload="timestamp" jr:preloadParams="start"/>

However, i don't know how you could do this for every question. I guess you
could create timestamps before every question, but you can't record the
content of a question (like "What is your name?") and also record the
timestamp at the same moment. Each question needs it's own node, and one
question can't have two nodes.

☞§※☼:airplane::open_umbrella::slight_smile:
~Neil

··· On Wed, Jul 11, 2012 at 5:05 AM, Madhur Hasija wrote:

I wan to create event logs. i.e. record a time stamp for each questioner
in the form.
I basically want to record these time stamps to know the time taken to
fill the answer for a question

--
Regards
Madhur
9718345506

The now() function returns the current timestamp. The end-time would need
to have a calculate expression that referenced the question that was just
answered:

This ensures that the 'endQ4' field is updated whenever the Q4 question is
modified. You can then omit any user display of the endQ4 values and they
will be automatically updated whenever the Q4 value changes. I don't know
whether the javarosa layer will trigger the update of endQ4 if the value
for Q4 doesn't materially change as you advance through the questions (f
you just view the current value of Q4 and advance through it). It may only
trigger the update if the value changes. If so, the logging of
update-end-times is probably the best you can do.

ODK Collect 1.2 has functionality to log all user interactions --
application-wide. This is intended for usability studies, and there is no
support for getting these files off the phone, no support for using this in
any sort of large-scale deployment, and no tools to match this information
against the filled-in forms -- you can, but we have no tools for that. If
enabled, the activity log is stored in a SQLite database
(/sdcard/odk/log/activityLog.db). See
http://code.google.com/p/opendatakit/source/browse/src/org/odk/collect/android/database/ActivityLogger.java?repo=collect#32

Mitch

··· On Wed, Jul 11, 2012 at 5:35 AM, Neil Hendrick wrote:

You can create a Start and End field that javarosa preloads to record the
time that the form is opened and the time that it is closed. If you have
nodes named 'start' and 'end' then all the work is done in the BIND like
this:

  <bind id="start" nodeset="/FourDigits/start" type="xsd:time"

jr:preload="timestamp" jr:preloadParams="start"/>

However, i don't know how you could do this for every question. I guess
you could create timestamps before every question, but you can't record the
content of a question (like "What is your name?") and also record the
timestamp at the same moment. Each question needs it's own node, and one
question can't have two nodes.

☞§※☼:airplane::open_umbrella::slight_smile:
~Neil

On Wed, Jul 11, 2012 at 5:05 AM, Madhur Hasija madhurh@iiitd.ac.inwrote:

I wan to create event logs. i.e. record a time stamp for each questioner
in the form.
I basically want to record these time stamps to know the time taken to
fill the answer for a question

--
Regards
Madhur
9718345506

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