...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
argv | StringĀ String [] | Yes | The argv variable | label | String | Yes | The label of the multi select list/checkbox group | |
...
For a script that creates a multi select list like the following
Code Block |
---|
|
gadget_createMultiSelectList("Multiselect", {"a", "b", "c", "d", "e"}, {"a", "c", "e"}, true, "This field is required"); |
The selected values may be obtained with the gadget_getMultiValues routine:
Code Block |
---|
|
string[] res = gadget_getMultiValues(argv, "Multiselect");
//res[0] = a
//res[1] = c
//res[2] = e
//The routine has returned in this case an array of three strings, "a", "c" and "e". |
...