1. What is the problem? Be very detailed.
Hello there, I Saneesh from India. I am doing a survey on monitoring trees in many sites (30) sites, in each site I have tagged several trees. I have a list of sites (i.e. APC1, APC2,... APC30) and given codes to each tree (i.e.10 trees, 8 trees, ...7 trees) in each site. Is there a way to choose one site and get list of trees that belong only to the respective site? (i.e. choose one APC2 and see list of belong 8 trees)
2. What app or server are you using and on what device and operating system? Include version numbers.
Using ODK Collect V1.27.0
3. What you have you tried to fix the problem?
4. What steps can we take to reproduce the problem?
5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.
Hi @Saneesh
Welcome to the forum! Please introduce yourself here!
There a couple of ways you can do that. I encourage you to search the forum and checkout the documentation.
Start by checking out this: https://xlsform.org/en/#cascading-selects
1 Like
Thanks a lot. I used the following cf=${site} in the choice_filter and gave my choices.
It was so helpful.
Regards
3 Likes
I succeeded in making the odk (https://odk.enke.to/preview?form=https://xlsform.getodk.org/downloads/13zgpt4x/Tree-re-visit.xml) but I got into another issue when I was attempting not to see the already marked tree.
FormLogicError: Could not evaluate: /model/instance[1]/data/plot_info/tree_info/position, message: Context node was not supplied.
Here is the link- https://odk.enke.to/preview?form=https://xlsform.getodk.org/downloads/74kw0gs8/restrict-repeat-selects.xml