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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.