Avatar

Level 2

Hi,

Okay, i'll simplify my exemple to be clear.

1. I have a dropdown list with 3 items : Subform 1, Subform 2 and Subform 3.

2. I can also duplicate this dropdown list with the InstanceManager.InsertInstance fonction with a "Add" button.

3. I have 3 different subforms hidden by default (which are named Subform 1, Subform 2 and Subform 3).

If my first selection in my dropdown list is Subform 2, I want the Subform 2 to show first. Then, I can click on "Add" to make another selection in my second dropdown list and choose "Subform 1" and finally, add one last dropdown list and select "Subform 3".

The result I wanna see is Subform 2 first, Subform 1 second and then Subform 3. So basically, I wanna show my subforms depending on the selected order in my dropdown lists.

The next step would be to have the possibility to create more than one Subform 1, 2 or 3 and have them placed in the dropdown list order (so I can select each subforms more than once).

One more thing. I don't wanna create a master subform which will regroup my Subform 1, 2 and 3 and then duplicate the master to only show the selected subform in my dropdown list because I have alot of scripts on the calculate event and in my real form, I have like 13 different subforms so it's going to be laggy.

I hope I was clear enough, sorry if my english is messy, i'm a french Canadian

Thanks and have a good day.