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.

images/download/attachments/78255885/layout_field_String-version-2-modificationdate-1628578884274-api-v2.png

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.

images/download/attachments/78255885/layout_field_Blob-version-2-modificationdate-1628588300265-api-v2.png

Integer

Field for integer numbers.

images/download/attachments/78255885/layout_field_Integer-version-2-modificationdate-1628578957630-api-v2.png

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.

images/download/thumbnails/78255885/layout_field_BigDecimal_EN-version-1-modificationdate-1628589827698-api-v2.png

Boolean

Checkbox. If set, true, otherwise false is sent to the form profile.

images/download/attachments/78255885/layout_field_Boolean-version-1-modificationdate-1628578758712-api-v2.png

Date

Date field. Clicking on the icon on the right opens a calendar dialogue. The field attribute Template must be set.

images/download/attachments/78255885/layout_field_Date-version-1-modificationdate-1628579180048-api-v2.png

TimeStamp

Timestamp field. Clicking on the icons on the right opens a calendar or time dialogue. The field attribute Template must be set.

images/download/attachments/78255885/layout_field_Timestamp-version-1-modificationdate-1628581140437-api-v2.png

Double

This data type should not be used.

Float

This data type should not be used.

BigInteger

This data type should not be used.