Skip to main content
Skip table of contents

DropDown list

Example

CSS
{
  "type": "dropdown",
  "id": "application",
  "caption": "Application",
  "validators": ["not-empty"],
  "defaultValue": "application-b",
  "items": 
  [
    {
      "id": "application-a",
      "caption": "{Category.App-A}",
      "distributionProfile": "SupportApplicationA",
      "fields": 
      [
        {
          "type": "textbox",
          "id": " application-a-version",
          "caption": "{Category.Application.Version.Title}"
        }
      ]
    },
    {
      "id": "application-b",
      "caption": "{Category.App-B}"
    }
   ]
}

Description

AttributeDescriptionRequired
type

Specifies the type of the object

X
idUnique ID of the object, freely selectableX

caption

Caption which is displayed in the UI, freely selectable. On demand, texts from the resource file in the currently selected language can be loaded using Variables of type String.

X

validators

Available validators:

  • not-empty
    Ensures that the field is completed by the user

  • e-mail
    Ensures that the input is an email address


defaultValue

Specifies whether an entry should be selected by default. The value must be a valid item ID. If required, variables of type ActiveDirectoryLocal and String from the resource file can be used to obtain the item ID


items

Defines the entries in the picklist. Each entry can have dependent form fields in the fields attribute.

An item consists of the following:

AttributeDescriptionRequired

id

Unique ID of the entry

X

caption

Caption which is displayed in the UI, freely selectable. On demand, texts from the resource file in the currently selected language can be loaded using Variables of type String.

X

distributionProfile

ID of a DistributionProfile defined in Configuration.xml which determines the delivery type/recipient and others


fields

Contains one or more form fields which are displayed only when the entry is selected.


X
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.