Value transformation

Most form elements offer an additional category 'Value transformation'. Calculation expressions that can 3,manipulate the reading and writing of element data can be specified here.

The usual case is that an element reads and writes its own data directly using its data field. In order to provide an adapter layer here, two different calculation expressions can be configured:

For internal values

Converts the value read from the data into any other value.
Example using a date field:
The date is loaded from a data set which is read from a profile in the format 'yyyy/dd/MM'.
The calculation expression can therefore serve as an adapter here by converting this format into a valid date: $parseDate($input,yyyy/dd/MM).

For external values

Converts the value to be written to the data into any other value.
Example using a date field:
The date is transferred to a profile in the element data as a string in the format 'yyyy/dd/MM'.
The calculation expression can therefore serve as an adapter here by converting the date value into a string: $fd($input,yyyy/dd/MM).


Tip: Elements that perform a value transformation are marked accordingly with a symbol: images/download/attachments/91129787/image2022-1-3_11-52-17-version-1-modificationdate-1641222409100-api-v2.png