Valuelists

Designing an application in FM it is possible to use a single field to fill the valuelist. Convenient to give your user the possibilty to change a valuelist without much knowledge.

Is that possible with Servoy? If yes how? Because I can’t find it. If no I would really like this as a future feature…

Ciao,

Marcel

IN next build (1.2rc6) you can do this:

// create an array from a textString(textColumn).
// the separator is ‘\n’ (=enter in regular expressions )
// textColumn is filled with values separated by enters

var myArray = TextColumn.split( ‘\n’)

//set myValuelist (custom valuelist) with myArray
application.setValueListItems(‘myValueList’,myArray )

Wow, great news Maarten!

Thanks, this helps me a great deal!

Ciao,

Marcel