Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Nested Dropdowns in ConfiForm

Greg Poser
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 14, 2023

I'm trying to set up a form where you drill down from a business unit successively into sub-units where the dropdown for the sub units appears for the corresponding unit. Here's an example dataset:

Unit A

    Sub Unit 1

    Sub Unit 2

Unit B

    Sub Unit X

    Sub Unit y

Unit C

    Sub Unit G

        Sub-Sub Unit Z

 

So if I pick Unit B, I want a second dropdown to appear to choose between Sub Units X & Y. I tried to do this using Rule for Field Definition, but the second menu only appears for one of the Units (i.e. if I select Unit B I see the dropdown appear for X&Y but if I pick Unit A nothing happens). Can you not put two rules on the same Field or am I don't something wrong?

ConfiForm Top.JPG

ConfiForm Detail.JPGConfiForm Detail 2.JPG

1 answer

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Champion
July 15, 2023

Hi @Greg Poser and welcome to this community

The easiest way would be to create a form with this hierarchy and then use it in another form through a smart classifier field in ConfiForms

So, the first form will be

 Unit Name   Sub Unit Name Sub-Sub Unit name

And you put all the relations here

Then in the second form you just set up one field of type  smart classifier and tell it to use these the first form and the 3 fields in particular

The field will render the dependent dropdowns for you automatically (up to 3 for Unit C and 2 for Unit B - based on your example)

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events