--- title: "Value transformation" slug: "fre-element-value-transformation" updated: 2026-06-08T15:14:30Z published: 2026-06-08T15:14:30Z canonical: "docs.lobstersoftware.com/fre-element-value-transformation" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Value transformation > [!NOTE] > Most form elements offer an additional category: **Value trasnformation**. Here you specify a [Calculation expression](/v1/docs/en/core-raw-parser). A calculation expression is a configurable formula. It manipulates how element data is read and written. By default, an element reads and writes its data directly through its data field. To provide an adapter layer, two calculation expressions are available. ## To internal value This expression converts the value read from the data. The example uses a date field. A profile reads the date from a data set in the format `yyyy/dd/MM`. The calculation expression acts as an adapter. It converts this format into a valid date: `$parseDate($input,yyyy/dd/MM)`. ## To external value This expression converts the value to be written to the data. The example uses a date field. The date is passed to a profile as a string in the format `yyyy/dd/MM`. The calculation expression acts as an adapter. It converts the date value into a string: `$fd($input,yyyy/dd/MM)`. > [!NOTE] > **NOTE:** > > Elements that perform a value transformation are marked with a dedicated icon: ![Icon marking a form element with a value transformation](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-1-3_11-52-17-version-1-modificationdate-1641222409100-api-v2.png)