Remove empty or blank rows from a generated document


I have 3 fields First Name, Middle Name and Last Name mapped to 3 tags in the mapping document.

Later it would display as below, when the document is generated.

First Name

Middle Name

Last Name


For example, if Middle Name value is empty or blank, is it possible to display something like this as below.

First Name

Last Name


Comments (1)


Dear Neelakandan,

Regarding your question, it is necessary to have two templates: one with Middle Name and one without Middle Name.

The way how you should implement it to work correctly is using a gateway to validate if the Middle Name is empty or not and after this, implement the needed template.

Best Regards