# Create form including lots of subcategories

**URL:** <https://community.glideapps.com/t/create-form-including-lots-of-subcategories/66144>\
**Category:** Ask for Help\
**Tags:** choice\
**Created:** [September 14, 2023, 2:15pm UTC](https://community.glideapps.com/t/create-form-including-lots-of-subcategories/66144 "2023-09-14T14:15:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucas\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_r/32/61017_2.png) [@Lucas\_R](https://community.glideapps.com/u/Lucas_R)\
**Post date:** [September 14, 2023, 2:15pm UTC](https://community.glideapps.com/t/create-form-including-lots-of-subcategories/66144/1 "2023-09-14T14:15:55Z")

</div>

Hey, I’m stuck on this.

I need to create a form that allow user to classify an item with multiple categories and subcategories.  
On data, I have a table with all the categories, subcategories and their relations.  
I have a table for the item with five column to enter five categories per items.  
On form screen I have multiple choice elements that are data filtered by the selected category in the previous choice element. (So each time a user select a category, he can only choose a related subcategory of its previous selection)

I see no problem with the first and second level.  
But once user reach the 3rd level, its more complicated.  
If an user select all 5 different categories then change his mind, go back on its selection and choose in category 3 a category that doesn’t have more subcategories and click on submit, it will write in item table in category column 4 & 5 data from the first user’s selection. That’s my problem.

Any idea on how I should do to do good?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 14, 2023, 2:45pm UTC](https://community.glideapps.com/t/create-form-including-lots-of-subcategories/66144/2 "2023-09-14T14:45:22Z")

</div>

You seem to have submitted 3 posts about the same topic. Please keep it to only one. This thread will now be locked to keep the discussion to this one.

> [@When choice element is hidden, it doesn't reset its value](https://community.glideapps.com/t/when-choice-element-is-hidden-it-doesnt-reset-its-value/66142):
>
> Hey here is my use case: I have a form allowing user to add an item to a list. This item should be categorised correctly. I have a table for items, with column to enter the category data (Category 1, Category 2, Category3) To categorise the item, user will use the choice element. Next choice element doesn’t appear if nothing is selected in on the last choice element I have three level of categories. A;B;C 2.AA;AB;AC;BA;BB;BC;CA;CB;CC 3.AAA;AAB;AAC;BBA;BBB;BBC;CCA;CCB;CCC The categor…

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 14, 2023, 2:51pm UTC](https://community.glideapps.com/t/create-form-including-lots-of-subcategories/66144/3 "2023-09-14T14:51:52Z")

</div>


