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 4 Current »

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8? Click here and leave these dusty old pages behind!

Availability

This routine is available starting with SIL Engine™ 3.0.8.

Syntax

gadget_getMultiValues(argv, label)

Description

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


Parameters

Parameter name

Required

Description

argv

Yes

the argv variable

labelYesthe label of the multi select list/checkbox group

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

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".


See also

  • No labels