Filter answers of a predecessor question


I have a question about how to do a filter answers of a predecessor question.


P01 - What educational level are you?
a) Primary
b) Secondary

In question P02, if you mark a) primary, only appears a) 1, b) 2, c) 3, d) 4, e) 5 . But if it is b) secondary, all appear.

P02 - What grade are you in?
a) 1
b) 2
c) 3
c) 4
c) 5
f) 6
g) 7
h) 8

You can do this using a choice_filter as described in the XLSForm docs for cascading selects.
filter_example.xlsx (9.8 KB)

Welcome to the ODK forum, @Starling_Sanchez1! We're glad you're here. When you get a chance, please introduce yourself on this forum thread. I'd also encourage you to add a picture as your avatar because it helps build community!

Thank you @danbjoseph your solution worked correctly
:clap: :clap:

1 Like