Layout Elements by Field Data Type
You can use the data type of a field in the source structure of the form profile to control how this field looks in the form. Note: See also section Formatting via Attribute 'DataCockpit control'.
Data type of field |
Layout element |
String |
Text field.
|
Blob |
Large text field. Clicking on the icon on the right opens an HTML editor. Note: If the HTML editor is used, only the HTML code appears in the field and not the formatted representation.
|
Integer |
Field for integer numbers.
|
BigDecimal |
Only an integer or a decimal number can be specified in the field. Note: Whether a comma or a dot must be used as decimal separator in the form depends on the set DataCockpit language. Regardless of this, the form profile always receives a dot as the decimal separator (JSON-compliant). The field attribute Template should not be used.
|
Boolean |
Checkbox. If set, true, otherwise false is sent to the form profile.
|
Date |
Date field. Clicking on the icon on the right opens a calendar dialogue. The field attribute Template must be set.
|
TimeStamp |
Timestamp field. Clicking on the icons on the right opens a calendar or time dialogue. The field attribute Template must be set.
|
Double |
This data type should not be used. |
Float |
This data type should not be used. |
BigInteger |
This data type should not be used. |