---
title: "Hierarchical category in arena and arena-mobile"
url: "https://openforis.support/questions/4012/hierarchical-category-in-arena-and-arena-mobile"
tags: ["arena", "arena-mobile"]
status: "answered"
score: 0
answer_count: 1
asked: "2024-06-22T11:48:20"
last_activity: "2024-06-23T02:11:30"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# Hierarchical category in arena and arena-mobile

Asked by dodout on 2024-06-22

I have created a hierarchical category in Arena with three levels. However, only the first level appears in the preview mode; this also means that the fields associated with the second, and third, levels are not available in Arena-Mobile for completion. It will be highly helpful to assist with this issue as a matter of urgency.


## Answer (score 0, by Stefano (OF) on 2024-06-22)

Link: https://openforis.support/questions/4012/hierarchical-category-in-arena-and-arena-mobile/4013

Dear user,  
When you create a hierarchical category, you need to define one code attribute for each level of the category and specify the correct "parent code" attribute in the attribute editor, in the form designer.  
For example, if you have a category with the administrative units (called `admin_unit` for example) and 3 levels (region, province, district), you should define 3 code attributes:
 - region: select the category `admin_unit`, leave the "Parent Code" empty; it will show the items in the first level of the category (region)
 - province: select the same category `admin_unit` and select `region` as "Parent Code"; it will show the items in the second level of the category, depending on the selected region;
 - district: select the category `admin_unit` and select `province` as "Parent Code"; it will show the items in the third level (district) depending on the selected province;  
In your case you have defined only the hierarchical category and you have associated only one attribute to that category.  
Let us know if this can help you to solve your issue, many thanks.  
Open Foris Team

> Thank you Stefano for the immediate support; i follow your instructions and let you know the outcome. (dodout)
