Hello,
I am currently working on a form and I need to do a few calculations.
The form has several questions with "select_one" type. I want to add up the correct answers from those question to get a score.Is it possible to do calculations based on answers from the select_one questions and return a score?
Thank you for your time,
Zeina
Hi Zeina,
See https://groups.google.com/d/msg/opendatakit/R9pwelsmTlY/SwMTEm6_6zkJ
for some ideas.
Thanks,
Yaw
···
--
Need ODK consultants? Nafundi provides form design, server setup,
in-field training, and software development for ODK. Go to
https://nafundi.com to get started.
On Sun, Apr 10, 2016 at 12:31 AM, zeina.1991@gmail.com wrote:
Hello,
I am currently working on a form and I need to do a few calculations.
The form has several questions with "select_one" type. I want to add up the correct answers from those question to get a score.Is it possible to do calculations based on answers from the select_one questions and return a score?
Thank you for your time,
Zeina
--
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.
Zeina,
I don't know. Try it and report back.
If it doesn't, you might have to have an intermediary node that
explicitly stores a zero if the question doesn't have an answer.
if(string-length(${my_node})= 0,0,${my_node})
Yaw
···
--
Need ODK consultants? Nafundi provides form design, server setup,
in-field training, and software development for ODK. Go to
https://nafundi.com to get started.
On Tue, Apr 12, 2016 at 12:32 AM, zeina.1991@gmail.com wrote:
On Monday, April 11, 2016 at 10:41:08 AM UTC+3, Yaw Anokwa wrote:
Hi Zeina,
See https://groups.google.com/d/msg/opendatakit/R9pwelsmTlY/SwMTEm6_6zkJ
for some ideas.
Thanks,
Yaw
Need ODK consultants? Nafundi provides form design, server setup,
in-field training, and software development for ODK. Go to
https://nafundi.com to get started.
On Sun, Apr 10, 2016 at 12:31 AM, zeina.1991@gmail.com wrote:
Hello,
I am currently working on a form and I need to do a few calculations.
The form has several questions with "select_one" type. I want to add up the correct answers from those question to get a score.Is it possible to do calculations based on answers from the select_one questions and return a score?
Thank you for your time,
Zeina
--
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.
Thank you for the quick reply.
Can I do calculations if I have one of the answers as missing ?
Zeina
--
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.