Cart Licenses Contact Support Online Creator Log in/Register
Try
Buy
v 1.9.50

ChoicesRestful

Configures access to a RESTful service that returns choices for Checkbox, Dropdown, Radiogroup, and other multiple-choice question types.

Use the following properties to configure this object:

{
  url: "http://...", // A RESTful service's URL.
  valueName: "value", // Specifies which field contains choice values.
  titleName: "title", // Specifies which field contains display texts for choice values.
  imageLinkName: "imageUrl", // Specifies which field contains image URLs. Used in Image Picker questions.
  // Path to the array of choices. Specify `path` only if the array of choices is nested within the object returned by the service.
  path: "myNestedArray"
}

Typically, you should assign this object to a question's choicesByUrl property.

Inherited from the following class(es):

Base
clone method
fromJSON method
getPropertyByName method
getPropertyValue method
getType method
imageLinkName property
inSurvey property
isDescendantOf method
isDesignMode property
isLoadingFromJson property
isValueEmpty method
onItemValuePropertyChanged event
onPropertyChanged event
path property
registerFunctionOnPropertiesValueChanged method
registerFunctionOnPropertyValueChanged method
setPropertyValue method
titleName property
toJSON method
unRegisterFunctionOnPropertiesValueChanged method
unRegisterFunctionOnPropertyValueChanged method
url property
valueName property