Total values from previous inputs in ODK Collect

Hello,
I have a form with several 'select1' questions. Each question has two
answers; one with value 1 and one with value 0.
I would like to add all values at the end of the form and assign a
category to the total of the these values, depending on the range the
total falls in.
E.g.: total value = 0 - 5 equals category A, total value = 6 - 10
equals category B.
Of course I would like the form to give me the correct category based
on the inputs of the 'select1' questions.
Any help is appreciated.
Thanks.
Valentijn

you should be able to do this with calculate. i haven't tried this
myself, so no promises.

for the final value, you can do something like

for the categories, you can do something like:

the imci and widgets forms have examples of calculate at work.
http://code.google.com/p/opendatakit/source/browse?repo=forms

··· On Wed, Jun 16, 2010 at 20:53, Valentijn wrote: > Hello, > I have a form with several 'select1' questions. Each question has two > answers; one with value 1 and one with value 0. > I would like to add all values at the end of the form and assign a > category to the total of the these values, depending on the range the > total falls in. > E.g.: total value = 0 - 5 equals category A, total value = 6 - 10 > equals category B. > Of course I would like the form to give me the correct category based > on the inputs of the 'select1' questions. > Any help is appreciated. > Thanks. > Valentijn

Although this is not specific to ODK, I assume many people have dealt with this challenge. I am trying to experiment with different builds like cyanogenmod and would prefer to run them on an emulator first. Excuse my ignorance (i am not a developer) but how can I take the .zip file contents provided on the cyanogenmod's site and create the three .img files needed?

Thanks for the help.

andrew

haven't done it, but it is possible.

http://android.modaco.com/content/general-discussion/289928/testing-getting-an-emulator-up-and-running-a-full-rom-with-the-market-etc/#

··· On Fri, Jun 18, 2010 at 02:28, Andrew Azman wrote: > Although this is not specific to ODK, I assume many people have dealt with this challenge. I am trying to experiment with different builds like cyanogenmod and would prefer to run them on an emulator first. Excuse my ignorance (i am not a developer) but how can I take the .zip file contents provided on the cyanogenmod's site and create the three .img files needed? > > Thanks for the help. > > andrew > >

haven't done it, but it is possible.

http://android.modaco.com/content/general-discussion/289928/testing-getting-an-emulator-up-and-running-a-full-rom-with-the-market-etc/#

··· On Fri, Jun 18, 2010 at 02:28, Andrew Azman wrote: > Although this is not specific to ODK, I assume many people have dealt with this challenge. I am trying to experiment with different builds like cyanogenmod and would prefer to run them on an emulator first. Excuse my ignorance (i am not a developer) but how can I take the .zip file contents provided on the cyanogenmod's site and create the three .img files needed? > > Thanks for the help. > > andrew > >

Thanks Yaw. I had seen that but was looking for advice on how to actually make the .img file (maybe Nandroid or mkyaff?) from the ROM. The one provided on this site is an older version of CM.....

··· On Jun 17, 2010, at 10:53 PM, Yaw Anokwa wrote:

haven't done it, but it is possible.

http://android.modaco.com/content/general-discussion/289928/testing-getting-an-emulator-up-and-running-a-full-rom-with-the-market-etc/#

On Fri, Jun 18, 2010 at 02:28, Andrew Azman andrewazman@gmail.com wrote:

Although this is not specific to ODK, I assume many people have dealt with this challenge. I am trying to experiment with different builds like cyanogenmod and would prefer to run them on an emulator first. Excuse my ignorance (i am not a developer) but how can I take the .zip file contents provided on the cyanogenmod's site and create the three .img files needed?

Thanks for the help.

andrew

hop on http://forum.xda-developers.com/ and ask there. they'd know.

··· On Fri, Jun 18, 2010 at 17:13, Andrew Azman wrote: > Thanks Yaw. I had seen that but was looking for advice on how to actually make the .img file (maybe Nandroid or mkyaff?) from the ROM. The one provided on this site is an older version of CM..... > > > On Jun 17, 2010, at 10:53 PM, Yaw Anokwa wrote: > >> haven't done it, but it is possible. >> >> http://android.modaco.com/content/general-discussion/289928/testing-getting-an-emulator-up-and-running-a-full-rom-with-the-market-etc/# >> >> >> On Fri, Jun 18, 2010 at 02:28, Andrew Azman wrote: >>> Although this is not specific to ODK, I assume many people have dealt with this challenge. I am trying to experiment with different builds like cyanogenmod and would prefer to run them on an emulator first. Excuse my ignorance (i am not a developer) but how can I take the .zip file contents provided on the cyanogenmod's site and create the three .img files needed? >>> >>> Thanks for the help. >>> >>> andrew >>> >>> > >