...
lfAllowSelectOptions(field, options[, triggerChange])
Description
Excerpt |
---|
Restricts the list of given options of the field to the list of options given as parameter. |
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
field | String | Yes | The field to restrict options for. |
options | String | Yes | The list of remaining options. |
triggerChange | Boolean | No | If set to true, triggers the change event on the field when routine is used. |
Example
The following code example restricts anything but Major and Minor from the options of the priority standard field.
...
Code Block |
---|
lfAllowSelectOptions("customfield_10000", {"option1", "option2"}, true); //where field = "customfield_10000" of type select list, options = "option1" and "option2" and triggerChange = true |
See Also:
Filter by label (Content by label) | ||||
---|---|---|---|---|
|