Hello! I have easy question, how i can add new values in subform multiselect or checkbox.
I'm created script, but he doesn't working.
- values = {"option","option 2", "option 4"};
- subform.checkbox:ui.add(values);
And i tried this
- values = List:String();
- values.addAll({"option","option 2", "option 4"});
- subform.checkbox:ui.add(values);
And i tried this
- values = List:String();
- values.addAll({"option","option 2", "option 4"});
- for each val in values
- {
- subform.checkbox:ui.add(val);
- }
What i do wrong?
Can i add new values in multiselect or checkbox on use function onload ? or can there be another solution?