I have created a page with various tabs(parent tabs) inside a tab container and each tab further having more tabs(child tabs) inside them. Now in another page, I am creating a Role( like searcher or client) via a form, in the create page form of role, i want to show the parent tabs name dropdown, and after selecting i want to create another page which will show the selected tabs from previous form as heading and all the sub tabs it contains so that i can select that the role i am creating can see these sub tabs of the parent tab i have selected. So in the main role create form i will be selecting the parent tabs from the dropdown which this role can see, and from a button in that form only, i want to see these tabs i have selected and all the subtabs this tab has to select which subtabs of this parent tabs can this role see. How to do that?