Conditional Fields (NEW! Liquid Templates)
  • 16 Jan 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Conditional Fields (NEW! Liquid Templates)

  • Dark
    Light
  • PDF

Article summary

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 %}

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence