Avatar

Level 7

I don't know where this list is coming from , so you might have to modify this code accordingly. If you know for certain what choices you'll use when adding the items, add this to your "exit" event for the numeric field:

if(this.rawValue > 150) {

     ddChoices.clearItems();

     ddChoices.addItem("Choice 1");

     ddChoices.addItem("Choice 2");

     ...

}

else {

     ddChoices.clearItems();

     ddChoices.addItem("Choice A");

     ddChoices.addItem("Choice B");

     ...

}