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…
// 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 )