Updated: 2025-03-17
The field codes in multi-copy forms or slips contain a number that refers to the instance of that form or slip.
In the example below, the [0], [1] and [2] refer to various copies of the same type of slip, in the order they were created, in this case box 14 of a T4 slip in TaxCycle T1.
The numbering begins at zero. A [-1] refers to a blank slip. It will change when you start typing in a field. Never use codes with [-1] in templates or conditions.
{{CurrentClient.T4Slips.T4[-1].CurrentYear.M[1]}}
{{CurrentClient.T4Slips.T4[0].CurrentYear.M[1]}}
{{CurrentClient.T4Slips.T4[1].CurrentYear.M[1]}}
{{CurrentClient.T4Slips.T4[2].CurrentYear.M[1]}}