Re: Token is empty mean need to hide entire row in my email

Muniyandi
Level 1

Token is empty mean need to hide entire row in my email

In my email when the token value is empty or blank, I want to hide a section in my HTML email.

could you please help me with how to achieve this?

 

 

 

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Token is empty mean need to hide entire row in my email

Well, “empty” and “blank” are the same thing. You probably meant null which is technically different in the database.

 

When you say “token”, do you actually mean the value of a Person field? Tokens — for example {{lead.tokens}} — are one way to output database values, but you should think in terms of the database itself. It’s confusing to talk about a token being empty because tokens can output default values even if the database field is empty.