Advanced printing templates can fail to print when they depend on a sublist hidden field.
In the following custom transaction form example, the Show box beside the Corporate Card field box is not checked. Therefore, Corporate Card is hidden from templates.
Expenses subtab.”>When a field is visible (box is checked), it is represented as a Boolean condition in the advanced template, like this:
Copy
<#if expense.corporatecreditcard == true> "Corporate Card" is checked!
</#if>
When a field is hidden, you must instead compare the value of the field with a string: “T”(true) or “F”(false), like this:
Copy
<#if expense.corparatecreditcard == "T"> "Corporate Card" is checked!
</#if>
A template that depends on the Corporate Card hidden field is no longer valid because the type of box changes from Boolean condition to string. You cannot compare a Boolean condition to a string.