Display Signature Elements Based on Field Value (Liquid Templates Only)

Updated 1 year ago by Tori Scharadin

This is our current template syntax as of 2022. If you are not used to this format, please check out our legacy templating articles

Create conditions to display a specific signature element based on the value in an employee directory field


{% case location %}

{% when “New Jersey”, "NJ" %}

555 Highpoint Lane 

Englewood, NJ 07631 

{% when "Atlanta", "ATL" %}

1234 Pleasant Street

Atlanta, GA 30301

{% else %} 

1234 HQ Lane

Louisville, KY 40210 

{% endcase %} 



How did we do?