If Statement in Email

I’m trying to have a simple check if a Date Property contains any data.

This is in an email - the Module is setup to allow HUBL. It is working with other IF statements - just stuck on this one.

Here is what i have tried.

{% if contact.g2_review___date is not known %}

{% if contact.g2_review___date is known %}

{% if contact.g2_review___date is defined %}

{% if contact.g2_review___date is undefined %}

{% if contact.g2_review___date is none %}

None of these worked. Is there a simple check to see if a property is “Known”

Hey @D_Sheets ,

Can you try this once:

{% if not module.g2_review___date %}
 // your code here
{% endif %}

You can also check the below link for Hubl conditional statements in hubspot - If statements - HubSpot docs

I hope this helps!

Thanks, that is working.