Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8050777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:09:20+00:00 2026-06-05T07:09:20+00:00

I have a category selector with up to 4 level depth. The selectable values

  • 0

I have a category selector with up to 4 level depth. The selectable values are stored in one table. This Table has the values: id, parentId, level and a label. This builds a hierarchical structure.

  • 1 Root Category
  • — 2. Sub Category
  • —- 3. Sub Sub Category
  • —— 4. Sub sub sub Category

Now I want to have 4 select fields. Only the first is activated the others are hidden and deactivated. If this one is selected, the second gets filtered/updated by the first and activated. … and so on. I only want to return the id of the deepest category as my selected category. However some categories only have 2 or 3 levels. If the form loads it should refill itself backwards from the selected field by knowing its level and getting its parents.

Does such a selector already exist? Do you have examples?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T07:09:20+00:00Added an answer on June 5, 2026 at 7:09 am

    Since couple of people already asked whether I solved the problem. Yes, I’m using xtemplate and only have one selector showing the structure.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have category model that has a tree structure. In my database I have
Lets suppose that I have a Category table with a column that holds the
I have three tables Category, Movies and RelCatMov Category-table categoryid, categoryName 1 thriller 2
i have this html code: <select name=category id=category> <option value=0>&laquo;Seleziona la categoria&raquo;</option> <option value='1'
I have a category table with two columns category_id and name . I have
I have this line of code: [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(stop) name:UIApplicationDidEnterBackgroundNotification object:nil]; Works fine
I am trying to use the Category described in this article: http://iphonedevelopment.blogspot.com/2008/10/shuffling-arrays.html I have
I have a problem with encoding UIImage to the base64 string using this category
I have category entity and subcategory entity. I need to get subcategory data to
I have a Category and a Post model, with each Post belonging to a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.