Show/Hide property values in Email

Hi,

I’m looking to see if its possible to show/hide labels in an email based on whether the contact filled out the field on a form

E.g Hide the ‘Phone Number’ label, if the contact didnt fill that field.

Any help appreciated, thanks!

Hi, @CHutt5 :waving_hand: Thanks for your question. Have you tried using HubL to control if a value is displayed? It’s not based on a form submission, but on whether or nor a property has a value for the specific record.

{% if contact.phone_number %}
 Phone Number: {{ contact.phone_number }}
{% endif %}

Have fun building! — Jaycee

Hi @Jaycee_Lewis,

Thanks for your reply.

Where would I put the code exactly?

Thanks