addItems to Dropdown avoiding duplicates
Sir.
Link to the actual file https://www.dropbox.com/s/0508by0lmlf77rc/repeatable%20Dropdown%20to%20another%20Dropdown%20which%20is%20also%20repeatable..pdf?dl=0
I have 2 dropdowns
1st is in a repeating table and 2nd one is in a repeatable subform
1st dropdown has options say Option1, Option2 ......
2nd Dropdown is empty when intialized
I want when user selects any option in dropdown 1 it should be populated in dropdown2 avoiding duplicates
so if user adds say 3 rows and select in
1st Row : Option1
2nd Row : Option2
3rd row : Option3
then Dropdown2 should have the following options for the user to select from
Option1
Option2
Option3
if user goes back and deletes any row then that option should be removed from Dropdown2 and duplicate items should be avoided.
Thanks