How to update a tokens value to nothing? (not even a single space)
Hello Marketo Community!
I have created a list of client info, for a (guided) landing page template:
<ul>
<li>{{my.CON Client Name}}</li>
<li>{{my.CON Client Address}}</li>
<li>{{my.CON Client Phone Number}}</li>
</ul>
Now, let's say that the client does not want to show their phone number.
What I would like to be able to do, is to apply a display-none rule, to any empty list items, as such:
li:empty {
display: none;
}
Here comes the problem.
When I remove the value from the {{my.CON Client Phone Number}}, I get an error saying that "This field is required". A workaround would be to just input an empty space. But an empty space, would mean that the list-item is not empty. So, my display-none rule for empty list items would not work.
So, how to solve this particular problem?
To my knowledge, there is no way of creating a token without a value. But is there some marketo-keyword for NULL or something similar, so that we get an empty list item in the output?
Thanks for the help in advance!