Dynamic Drop down list in KoBoToolbox

In KoBoToolbox, you could create a cascading select question as outlined in the support article Adding Cascading Select Questions. In addition you could also have a look at some of our workarounds discussed in the community:

Maybe this workaround discussed previously should also help you better understand the logic of cascading select question: