- Print
- DarkLight
- PDF
Conditional Fields (NEW! Liquid Templates)
Article summary
Did you find this summary helpful?
Thank you for your feedback
Conditional Fields
This is our current template as of 2022. If you are not familiar with/used to this format, please check out our legacy template article Conditional Fields (Legacy)
Tips:
- You can make any field a conditional field
- Make a field optional if some employees use it, and some do not. It will automatically be removed from the final email signature for employees who do not use the optional field
- You can wrap IF statements around any signature element to make them appear only if that field is used ({% if field %} {{field}} {% endif %})
If Conditional Field on It's Own Line
- HTML Code View
- Recipient's View (If either field is removed, the separator line is removed too!)
If Conditional Fields Share the Same Line
- HTML Code View
- Signature preview with logic
- Recipient's View (If either field is removed, the separator line is removed too!)
Need "not if" logic? We have that too!
Wrap your HTML with {% unless field %} Alternative Text {% endunless %} instead
Example: {% unless phone %} 1-800-MAINLINE {% endunless %}
Wrap your HTML with {% unless field %} Alternative Text {% endunless %} instead
Example: {% unless phone %} 1-800-MAINLINE {% endunless %}
Was this article helpful?