Dynamic subcategory and location persistence based on main category selection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zoltar
    Junior Member
    • Nov 2023
    • 6

    Dynamic subcategory and location persistence based on main category selection

    Hello all,

    Apologies if this has already been asked, I poked around the forums but wasn't able to find what I was looking for.

    I'd like to be able to select a Problem Category, depending on the selected category a drop down becomes available.

    Currently, if the problem category "Hardware" is selected, a new Hardware subcategory shows up. The same goes for Software.

    My issue is that I want the subcategory to show up in the same place.

    Currently, I have two different entities that show up when the main Problem category is selected. In the layout manager I have each sub-category on the left and right, because I you can't "stack" items.

    I don't want the location of the subcategory drop down to change. I want it to be dynamic based on primary category selection and stay in the same place.

    Any assistance would be greatly appreciated,

    Click image for larger version

Name:	image.png
Views:	139
Size:	68.0 KB
ID:	100656​​





    Thanks,
    Justin​
    Attached Files
    Last edited by Zoltar; 12-12-2023, 06:09 PM.
  • Zoltar
    Junior Member
    • Nov 2023
    • 6

    #2
    We answered our own question using the following method:

    Click image for larger version

Name:	image.png
Views:	104
Size:	161.0 KB
ID:	100658

    Comment

    • esforim
      Active Community Member
      • Jan 2020
      • 2204

      #3
      I like how you use 1.0 1.1 1.2 etc

      Comment

      • jay.sayonachi
        Junior Member
        • Feb 2024
        • 3

        #4
        But I encountered one problem

        I have 3 Category
        Customer Request
        Network
        Facilities

        and their Subcategories



        but when I get back to update/change the category record
        - the subcategory does not require me to fill it to its correct subcategory
        -means-- I can save the category update even if its subcategory is Wrong...





        ​​

        ​​

        Comment

        Working...