# Decision tree example for odk build

**URL:** <https://forum.getodk.org/t/decision-tree-example-for-odk-build/17858>\
**Category:** Support\
**Created:** [February 14, 2019, 10:46am UTC](https://forum.getodk.org/t/decision-tree-example-for-odk-build/17858 "2019-02-14T10:46:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jo](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/j/f0a364/32.png) [@jo](https://forum.getodk.org/u/jo)\
**Post date:** [February 14, 2019, 10:46am UTC](https://forum.getodk.org/t/decision-tree-example-for-odk-build/17858/1 "2019-02-14T10:46:31Z")

</div>

Hi everybody,

I use ODK collect quite a while for field-data collection. Right now I'm at the point where I'd like to include a decision tree into my odk-form. I've read that this is possible with odk but not so easy.

So my question is: Does anybody has an example for me, how such a decision tree could be implemented into odk? Is it possible with odk build?

Thanks & warm greetings

Jo

---

<div class="post-metadata">

**Author:** ![Ronald\_Munjoma](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/ronald_munjoma/32/1647_2.png) [@Ronald\_Munjoma](https://forum.getodk.org/u/Ronald_Munjoma)\
**Post date:** [February 15, 2019, 3:37pm UTC](https://forum.getodk.org/t/decision-tree-example-for-odk-build/17858/2 "2019-02-15T15:37:40Z")

</div>

Hi @jo

When you get a chance, please [introduce yourself here](https://forum.getodk.org/t/introduce-yourself-here/6671). I'd also encourage you to add a real picture as your avatar because it helps build community.

Branch/skip logic can be implemented in ODK and it's possible to code it via ODK build.

[ODK Build Intro](https://docs.opendatakit.org/build-intro/)

[XLSForm Relevant](http://xlsform.org/en/#relevant)

[Conditionally showing questions](https://docs.opendatakit.org/form-logic/#conditionally-showing-questions)

Example Forms:

> **[Sample form - Relevance guide](https://docs.google.com/spreadsheets/d/1w_3Z_4lO-LUcOSv4ODfbr6IeF3J5a7qaFhrvybbnUyA/edit?usp=sharing)**
>
> survey
> 
> type,name,label,hint,default,appearance,constraint,constraint message,relevance,disabled,required,required message,read...
