Skip to end of banner
Go to start of banner

gadget_getMultiValues

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Description

Retrieves the value from a multi select list or a checkbox group.

Parameters

Return Type

String []

Example

For a script that creates a multi select list like the following

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 function:

string[] res = gadget_getMultiValues(argv, "Multiselect");
//res[0] = a
//res[1] = c
//res[2] = e
//The function has returned in this case an array of three strings, "a", "c" and "e".

See also

Filter by label

There are no items with the selected labels at this time.

We've encountered an issue exporting this macro. Please try exporting this page again later.
  • No labels