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
answered
22 Jun '24, 14:15
Stefano (OF) ♦♦
4.9k●1●1●9
accept rate:
19%