# FormFieldType (Complex Type)

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

Supertype: AbstractFormItemType
A single form field. This definition is expected to render a short, compact visual representation of a single item (property, reference or container). If a container is represented as a field, it has to be a very compact representation of the container, usually by using custom widget that creates a pop-up when clicked.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
name | property string | [0,1] |
description | property string | [0,1] |
binding | property VariableBindingDefinitionType | [0,1] |
display | container FormItemDisplayType | [0,1] |
widget | property string | [0,1] | Name of the UI widget that should be used to display this item.
validation | property FormItemValidationType | [0,1] |

- ### Items

  - #### name

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### description

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### binding

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### display

    Flags: RAM,runtime

    Multiplicity: [0,1]

  - #### widget

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Name of the UI widget that should be used to display this item. Normally, the widget will be chosen automatically based on the type of the backing item (see "ref" element). The "widget" element can be used to override this default behavior. It is used for default included types like text, label, combo, password, checkbox, etc. or class name for custom implementation. NOTE: widget was never really working it will probably not work. It is deprecated now. Later on it will be replaced by an equivalent setting in FormItemDisplayType.

  - #### validation

    Flags: RAM,runtime

    Multiplicity: [0,1]