Menu

mask(...)

Updated: 2022-02-18

Obscure the output from a field code using the mask(...) function.

For example, to mask hide a bank account number, social insurance number or phone number.  While not required, we suggest also using the format( ) tag to retain the format of the number. A few examples:

Example Result
{{ mask(CurrentClient.Info.ID.SIN) }}

1******18

{{ mask(format(CurrentClient.Info.ID.SIN)) }}

1** *** *18

{{ mask(CurrentClient.Info.ID.BusinessNumber) }}

8********0001

{{ mask(format(CurrentClient.Info.ID.BusinessNumberField)) }}

8******** **0001

{{mask(CurrentClient.T185.Debit.AccountNumber)}}

1********231

{{mask(CurrentClient.Info.Address.HomePhone)}}

4******235

{{mask(format(CurrentClient.Info.Address.HomePhone))}}

(***) ***-1235