How do I use "modifiers" to change the way Wellbeing merge fields are used?
Modifiers are used as
follows:
{MergeFieldName modifier}
Example:
{HeandShe} - after a ‘.’ (full-stop) and beginning a new sentence is not capitalising.
“... meeting. he will be required to ...”
Solution:
{HeandShe ucfirst} - makes the first letter of the word capitalised.
“... meeting. He will be required to ...”
The available modifiers are:
Modifier | Function |
lower | Makes all text lower case |
upper | Make all text upper case |
ucfirst | Makes the first character upper case |
ucwords | Makes the first character of each word upper case |
number | Turns a number into its word representation eg; 1 becomes one |
ordinal | Turns a number into its ordinal eg; 2 becomes 2nd |
numbered | Turns a number into its word representation of its ordinal eg; 2 becomes second |