Updated: 2025-03-25
When preparing a T3 trust return, you must indicate the trust type by selecting the numerical Code or the text description from the Type field. These two fields stay in sync with each other, no matter which field you use. They even share the same field code {{CurrentClient.Info.ID.Type}}
.
It is common to struggle with using this type of field code in templates, data monitors or print sets:
Click the field code link in the blue bar at the bottom left of the window to copy the {{CurrentClient.Info.ID.Type}}
field code to your clipboard. Then, paste it into a template.
Pasting {{CurrentClient.Info.ID.Type}}
into a template will display the value of the field. This is neither the trust type code, nor the description you see on the Info worksheet. For example, if you select code 905, preview value is TestamentarySpousal.
Use the format() function to display the code or the description from the trust type field.
{{format(CurrentClient.Info.ID.TypeField,"code")}}
{{format(CurrentClient.Info.ID.TypeField,"text")}}
{{CurrentClient.Info.ID.Type}}
into a template to preview the value of the field.{{CurrentClient.Info.ID.Type=Type="TestamentarySpousal"}}
.{{CurrentClient.Info.ID.TypeField}}
{{CurrentClient.Info.ID.Type=1}}
.Before you start, we recommend breaking apart the field code. This will shorten the condition and make it easier to read. You can divide it up in a few different ways. We typically suggest the following:
CurrentClient
context. (Green highlight in the screen capture.)Info.ID
portion of the field code, removing the row number. (Yellow highlight in the screen capture.)Type
portion for the main condition. (Everything that comes between each pair of tags.)Once you have a simplified field code, you can either use the text value or ID to create a condition. The screen capture shows both examples separately.
Copy this sample code into a template to try it out.
{{CurrentClient.Info.ID.Type}}
{{CurrentClient.Info.ID.TypeField}}
{{format(CurrentClient.Info.ID.TypeField,"code")}}
{{format(CurrentClient.Info.ID.TypeField,"text")}}
{{# CurrentClient}}
{{# Info.ID}}
{{# Type="TestamentarySpousal" or Type="TestamentaryLifetimeBenefit" or Type="TestamentaryOther" or Type="TestamentaryQualifiedDisabilityTrust" or Type="TestamentaryGraduatedRealEstate"}}
Show this text for testamentary trusts.
This uses text values.
{{format(TypeField,"code")}}
{{format(TypeField,"text")}}
{{/ Type="TestamentarySpousal" or Type="TestamentaryLifetimeBenefit" or Type="TestamentaryOther" or Type="TestamentaryQualifiedDisabilityTrust" or Type="TestamentaryGraduatedRealEstate"}}
{{/ Info.ID}}
{{/ CurrentClient}}
{{# CurrentClient}}
{{# Info.ID}}
{{# Type=1 or Type=2 or Type=3 or Type=31 or Type=32}}
Show this text for testamentary trusts.
This uses numerical values.
{{format(TypeField, "code")}}
{{format(TypeField, "text")}}
{{/ Type=1 or Type=2 or Type=3 or Type=31 or Type=32}}
{{/ Info.ID}}
{{/ CurrentClient}}