MobileCRM.UI.QuestionnaireForm.overridePicklistOptions - Resconet/JSBridge GitHub Wiki
Overrides the list of options for given picklist question.
Arguments
Argument | Type | Description |
---|---|---|
questionName | String | A name of the picklist question. |
allowNull | Boolean | Indicates whether the empty answer is allowed. |
options | Object | An object with label-to-value mappings, e.g. {"Option 1":1,"Option 2":2}. |
errorCallback | function(errorMsg) | The errorCallback which is called in case of error. |
scope | Object | The scope for callbacks. |