Dear All,
Sorry, i am the beginner for using kobotoolbox.
Just want to ask about similar case like this.
.1. Can we do autocode in single answer from integer? For Example; I am 30 y.o, next i should be automatic in range 25-35 age group.
2. Can we do autocode in single answer from more than 1 question? For example, My expenditure, 5.000.000 and I have car, ac, motor, ets then I should be automatic in SES A.
3. Can we do autocode in single answer from single answer? For example, if i select code 4 in Q6 then autocode 1 in Q7, etc.
If possible, can you share the xlsform for these cases?Autocode Score Sample.xlsx (12.0 KB)
Thank you in advance
@ngolahdata21 , we do have some workarounds in the community (discussed previously) that should solve your query.
ngolahdata21:
Can we do autocode in single answer from integer? For Example; I am 30 y.o, next i should be automatic in range 25-35 age group.
This post should solve your first query
:
Hi @RayRay ,
Glad you were able to solve your issue. However, you could also do the same as outlined in the image as shared below:
In the survey tab of your xlsfrom:
[Image 1]
In the choices tab of your xlsform:
[Image 2]
Data entry screen as seen in Enketo: when a wrong entry is made
[Image 3]
Data entry screen as seen in Enketo: when a wrong entry is made
[Image 4]
Data entry screen as seen in Enketo: when a correct entry is made
[Image 5]
Data entry screen as seen in Enketo: when…
ngolahdata21:
Can we do autocode in single answer from more than 1 question? For example, My expenditure, 5.000.000 and I have car, ac, motor, ets then I should be automatic in SES A.
This post should solve your second query
:
ngolahdata21:
Can we do autocode in single answer from single answer? For example, if i select code 4 in Q6 then autocode 1 in Q7, etc.
This post should solve your third query
:
Hi @Ah_ly ,
You could do the same as outlined in the image below:
In the survey tab of your xlsform:
[Image 0.1]
In the choices tab of your xlsform:
[Image 0.2]
Data entry screen seen in Enketo:
[Image 0.3]
Here Never is automatically selected in Q2 when Never is selected in Q1.
Reference xlsform:
Auto Select.xls (29.5 KB)
Have a great day!
1 Like
Hi Kal,
Thank you for your support. These cases are solved.
1 Like