Scoring Multiple Responses how to write the expression and constraint in Kobo

Hi, grateful for all assistance I receive. I have a question in a repeat group which will ask each member to indicate all the disabilities that apply to each of them. This can result in zero selected, one selected or multiple selected. In the case of a single disability selected i would like the value of 1 scored. In the case of multiple disabilities selected I would like the value of 2 scored.

Can you revise the attached xls sheet (rows 85-89 highlighted) and tell me whether this expression has been written correctly. Note i also want a value of zero assigned if none is selected.

Also given that this count is to be calculated based on each additional household member, am I missing another calculation. And what calculation will be added to Tier 1 (row 166) to obtain a cummulative score ?Disability Count.xlsx (24.7 KB)

Hi @scherrie,

You could do the same as outlined in the image below:

In the survey tab of your xlsform:

In the choices tab of your xlsform:
Image 2

Data entry screen as seen in Enketo:

Reference xlsform:
Disability Count_Modified.xlsx (11.6 KB)

Have a great day!

1 Like

thanks Kal.

It may take me awhile to understand it, but I will see.

1 Like

Hello,
maybe the following methodological hint may also be interesting for you…


Best regards

1 Like