Drop down Auto complete functionality
Drop down Auto complete functionality is possible?
[ Problem Statement ] - I have DropDown-A and DropDown-B, One to One Mapping
____________________________________
| DropDown-A | DropDown-B |
|___________________________________|
Value-1-A | Value-1-B
Value-2-A | Value-2-B
Value-3-A | Value-3-B
Value-4-A | Value-4-B
User can select any value in DropDown-A but not in DropDown-B, DropDown-B is read only.
Once Value-1-A is selected in DropDown-A, Value-1-A must be reflect in DropDown-B.
If User changes his selection, it also work in this case.
Value-3-A is selected in DropDown-A, Value-3-A must be reflect in DropDown-B.
[ Problem Statement ] - I have DropDown-A and DropDown-B, One to One Mapping
____________________________________
| DropDown-A | DropDown-B |
|___________________________________|
Value-1-A | Value-1-B
Value-2-A | Value-2-B
Value-3-A | Value-3-B
Value-4-A | Value-4-B
User can select any value in DropDown-A but not in DropDown-B, DropDown-B is read only.
Once Value-1-A is selected in DropDown-A, Value-1-A must be reflect in DropDown-B.
If User changes his selection, it also work in this case.
Value-3-A is selected in DropDown-A, Value-3-A must be reflect in DropDown-B.
One answer
You can try to use a calculated value provider or a dependent enumeration. You might have to use a script based calculated value provider (if you have a 1:1 mapping) or a script based value set if you have multiple. A dependent enumeration would allow to restrict the values of the dependent enumeration based on the other value. See https://jazz.net/wiki/bin/view/Main/AttributeCustomizationfor more information.
Comments
Vladimir Amelin
Nov 06 '12, 10:43 a.m.Should be possible with dependent enumerations. AFAIK read-only property of attribute do not affect such dependency and other internal logic (but still need to test it)