# FormItemDisplayType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Supertype: DisplayType

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
label | property PolyStringType | [0,1] | Label of the displayed item.
singularLabel | property PolyStringType | [0,1] | Singular form of the label.
pluralLabel | property PolyStringType | [0,1] | Singular form of the label.
tooltip | property PolyStringType | [0,1] | Tooltip of the displayed item.
help | property PolyStringType | [0,1] | Help text for the displayed item.
color | property string | [0,1] | Usual color of the display element that this data structure describes.
cssStyle | property string | [0,1] |
cssClass | property string | [0,1] |
icon | container IconType | [0,1] | User interface icon specification.
minOccurs | property string | [0,1] |
maxOccurs | property string | [0,1] |
size | property integer | [0,1] |
maxSize | property integer | [0,1] |
newLine | property boolean | [0,1] | displayable form component position (if true, field/group/loop will be placed on new line)

- ### Items

  - #### label

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Label of the displayed item. The label will (almost) always be displayed - unless the item is hidden or minimized/iconized. The label is usually the very minimum to meaningfully display the item. Label should be very short (couple of words).

    MidPoint 3.x compatibility: Plain string or a localization key may be used in this field. The value of this field will be interpreted as a localizaton key and looked up in the localization tables. If no translation is found, then the literal value is displayed.

  - #### singularLabel

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Singular form of the label. E.g. "Employee".

    This is only applicable to objects that can be interpreted as collections and only in cases that they are being interpreted as collections. In that case this label can be used to display each individual object from the collection. E.g. it may be used to construct messages such as "Found 1 employee" or "displaying employee 'foo'".

  - #### pluralLabel

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Singular form of the label. E.g. "Employees".

    This is only applicable to objects that can be interpreted as collections and only in cases that they are being interpreted as collections. In that case this label can be used to display label for the collection as a whole. E.g. it can be used to display a menu item, shortcut or button for the collection.

  - #### tooltip

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Tooltip of the displayed item. This is short text that is usually displayed when the user howers mouse cursor over the item. It may also be displayed next to the selection in lists and so on. Tooltip should still be quite short (one short sentence).

    MidPoint 3.x compatibility: Plain string or a localization key may be used in this field. The value of this field will be interpreted as a localizaton key and looked up in the localization tables. If no translation is found, then the literal value is displayed.

  - #### help

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Help text for the displayed item. Help text is usually displayed when the user clicks on help/information icon. This may be a longer text (several sentences).

    MidPoint 3.x compatibility: Plain string or a localization key may be used in this field. The value of this field will be interpreted as a localizaton key and looked up in the localization tables. If no translation is found, then the literal value is displayed.

  - #### color

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Usual color of the display element that this data structure describes. This color may be used in situation when colorful presentation of the lement is appropriate. The color may be used to color the decorations, background, icon, etc. The color may also be ignored if monochrome presentation is more appropriate.

    Value of this element is HTML-like color name or code.

    Note: This color is different than icon color. This is the color of the thing itself. E.g. color of form or widget. Icon may have independent color. Some UI elements may be able to display both the color of the element (e.g. widget) and color of the icon.

  - #### cssStyle

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### cssClass

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### icon

    Flags: RAM,runtime

    Multiplicity: [0,1]

    User interface icon specification.

  - #### minOccurs

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### maxOccurs

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### size

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### maxSize

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### newLine

    Flags: RAM,runtime

    Multiplicity: [0,1]

    displayable form component position (if true, field/group/loop will be placed on new line)