adjusts the value that is going to be set to the format expected by the control
The function is called automatically by the setValue or when a control is going to be rendered.
It takes the control value as a parameter and returns the processed value.
Not supposed for direct calls.