I have a document template Invoice that includes the address of the recipient. It's defined as:
<<Invoices.Address1>>
<<Invoices.Address2>>
<<Invoices.Address3>>
<<Invoices.Address4>>
<<Invoices.Address5>>
Sometimes the address line 2 is not filled so I'm trying to skip printing it.
I attached a condition to <<Invoices.Address2>> that reads:
Invoices.Address2<>'' and then put the correct element properties in. I also tried to use the conditions Invoices.Address2 IS DEFINED and LENGTH(Invoices.Address2)>0.
Further more I ticked the box Collapse height when element is not printed.
The problem is that whatever I try Invoices.Address2 appears as a blank line on my document.
Does anyone know if I'm doing something wrong?