The challenge many companies face is that some employees don't have all the information entered (generally because it doesn't relate to them - for example, mobile numbers aren't assigned to all employees).
In this case, when an employee sends an email and a mobile number isn't entered against their name (Fields), there is a blank line in the signature when an email is sent.
That's why below are given a few string manipulation functions with a description and examples, which explain how to exclude a certain field if the information doesn't exist and essentially, stop the blank line from appearing.
This is the NULL statement:
Example #1 - Removes 'm: ((Mobile))' when ((Mobile)) field is empty:
Example #2 - Removes 'm: ((Mobile))' and the line below when ((Mobile)) field is empty - <br /> must be inserted in the HTML source as you cannot see it:
How to remove ((Mobile)) when employees have no mobile
Ann Appleseed has no mobile number and accordingly, her employee data contains the empty mobile field.
Signatures menu > Open email signature:
Click Preview and select Ann Appleseed:
- Cell is empty
Since there is no line break that needs to be removed, you can use the built-in designer when inserting NULL syntax in this example:
Copy/paste (1st part of the statement):
Copy/Paste (2nd part of the statement):
This removed 'cell ((Mobile))' when ((Mobile)) field is empty.
Ignore that the syntax is shown in the built-in designer. Always use Preview to see how it looks.
Use Preview to validate OK.
Only required to enter HTML source if you need to remove the line break