Some data is "masked" to present it in a standard format. If you want to ensure that the data stays in this format, you'll need to transform it.
The following controls (fields) mask data:
Masked controls generally:
Masked controls store and transmit the cleaned entered data. It is otherwise unchanged.
To see how these controls handle data, see:
There are ways to re-use masked data when combining text and data, but this is limited to 'digital' outputs.
You'll want to actually transform this data when you want to:
To transform a control's data:
The code below uses the concat() function to:
The result is that the data collected and cleaned is now transformed into the desired format, allowing the new control to be used more-readily in multiple situations.
concat(
'1-',
substring($controlName, 1, 3), '-',
substring($controlName, 4, 3), '-',
substring($controlName, 7, 4)
)
concat(
upper-case(substring($controlName, 1, 3)), ' ',
upper-case(substring($controlName, 4, 3))
)
concat(
substring($controlName, 1, 3), ' ',
substring($controlName, 4, 3), ' ',
substring($controlName, 7, 3)
)