Avatar

Level 6

Hi,

You can put some string with values that you need splitted by some char:

     combova1,comboval2, comboval3

then you can use this script:

dropValues = stringVal.rawValue;

// add each choice to drop down

choices

BR,

= dropValues .split(",");

for (var i = 0; i < numchoices; i=i+2)

{

yourDropDown.addItem(choices[i]

, choices[i+1]);

}

var numchoices = choices.length;

var numchoices = choices.length;

for (var i = 0; i < numchoices; i=i+2)

{

yourDropDown.addItem(choices[i]

, choices[i+1]);

}

Paul Butenko