Further customize your signature to reflect the unique style and brand of your domain with these advanced functions.
Source Code
- To use a particular function, click the Source button found within the format editor.

- Then, copy and paste the function code into the signature. For more information and a style guide on email signatures, check out our blog post.

Contact Field Substitution
How it works:

In the case that preferred methods of contact vary among your users, this shortcut can be used to prioritize fields.
- The field that you would like BetterCloud to look for.
- (optional) The label that will appear if the field contains data.
- The value that will be returned if the field contains data.
- (optional) The label that will appear if the field does not contain data.
- The value that will be returned if the field does not contain data.

The example above is stating that if the is the user has a work phone number, then display "Work: {workPhone} and if the user does not have a work phone number then it will display "Mobile: {mobilePhone}"
Pro tip: If you want the function to return an empty space when the field does not exist, use the following format: IFEXISTS( {workPhone}, Work: {workPhone}, “”)
Remove Line
The code:

How it works:
If the field contained within the parentheses is empty, BetterCloud will remove the particular line from the signature and move all other lines up.
The example above will remove the line for the users first name if the user does not have a first name in their contact info and will move all the other lines up so there is not a blank line.
*Note: commands must be written in all capital lettersAll Uppercase
The code:

How it works:
All fields within the parentheses will be displayed in all uppercase text.
*Note: commands must be written in all capital letters