-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Control: Dependent Optionset Control
Scenario
We have 3 choice lists. First choice is not using dependent optionset, but is the parent used for the Second choice that does use the control. Second choice is parent to the Third choice (Also using the control).
We have two options from the First choice that need the same Second choice, but also need different Third choices. The solution we attempted was to copy the Second choice label and give them unique values, then lay out the mappings for each in their respective mapping files. This means in the Second choice options list for the control, we have two options that have the same label but with unique values.
The issue we have run into is the control is displaying the correct filtered option, but when the option is selected, the first value of the first matching label is returned. Have tested this by adding a third copy of the same label into the Second choice list, but with a smaller value than the others so it would be at the top of the options list. Even though this third option, with its unique smaller value, is not present in the mappings lists at all, the value is still returned as the value of the control in the form context.
Let me know if you need any more information to assist.
Cheers,
Chris