cancel
Showing results for 
Search instead for 
Did you mean: 

dropdownbyindex - key is not stored in the context

former_member186444
Participant
0 Kudos

I have a dropdownbyindex field on my screen and I need to be able to see if it has been changed when a button is pressed. I'm using the get_context_change_log method and this works fine for other fields but not for this one. I see from the help that I should not expect it to work anyway. However, if I pick it up instead from the context I can only see the value of the text from the field. The key is not stored for some reason. What am I doing wrong?

thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

For drop down by Index you need to declare two attributes value and key in the context node, and when you populate the node you need to declare key cprresponding to each value. If there is a key corresponding to each value then for sure the key it will get populated when the user selects a value from the the drop down.

Edited by: Kalyani R J on Mar 2, 2012 11:45 AM