home

Browse documentation

ezyVet Knowledge Center

Get access to documentation, training, and other high-quality resources.

Printed documents have missing or empty content

The source template has an incorrectly closed IF statement

An ezyVet template can have an IF statement in the template's source code. You must correctly close the IF statement. If you do not close the statement, documents made from the template could incorrectly have empty content.

A correctly closed IF statement has <!-- --> at the end of the statement. This example shows a statement that is not correctly closed:
<!-- --> <!--IF( {AnimalName} ){-->{AnimalName}<br />
<!-- --> <!--IF( {ConsultNumber})-- >{ConsultNumber} <br />
This example shows the same statement but it is correctly closed.
<!-- --> <!--IF( {AnimalName} ){-->{AnimalName}<br />
<!-- --> <!--IF( {ConsultNumber}){-->{ConsultNumber}<!-- – ><br />

Do a check of the template

  1. Find and open the applicable ezyVet template.
  2. Open the source code of the template.
  3. Find the applicable IF statement and make sure that is correctly closed.