Tutorials‎ > ‎

Conditions

How to use conditions in Signature Template

You can use a condition not empty to display the desired line in signature only if some field has data filled in.

Complex example:
{firstName} {lastName}{if not empty(mobile) or not empty(phone)}\n{/if}
{if not empty(mobile)}Mobile: {mobile}{/if}{if not empty(mobile) and not empty(phone)} | {/if}{if not empty(phone)}Phone: {phone}{/if}\n{companyName}

\n is used for the new line