locked
Select picklist item by text not value RRS feed

  • Question

  • Hi,

    I've got two picklists like this

    PickList A
    Name       Value
    1              1
    2              2
    3              3
    4              4
    5              5

    PickList B
    Name       Value
    1              5
    2              3
    3              1
    4              2
    5              4

    When picklist A changes I need to change picklist B to the same text value. But the problem is the item indexes are different for both. There are also hundreds of items so I dont want to write it as conditional statements etc.

    Can I programatically set the value of picklist B based on its text instead of its value?

    Thanks

     

     

    Friday, September 9, 2011 1:29 PM

Answers

All replies