Save up to $300 off
the TaxCycle Suite
12-Month Payment Plan
Available
Only During Sale
Buy Now
Looking for a specific article? Search Topics
Call 1-888-841-3040. We're here to help!
Get the latest news in your inbox! Newsletter Sign-up
Updated: 2024-11-11
Obscure the output from a field code using the mask() function.
For example, you can mask 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 |