Email conditional content
I want to add conditions to display certain text based on if a workflow target field is 0 or 1, how can I perform this directly in the html code rather than going through the native feaure which adds a lot of junk.
For the following line item, i want to just display the character code ☑ if a boolean condition is true.
<li><span style="font-size: 18px;">☑ 1 year Member </span></li>When I apply Dynamic Text, look at all the junk thats added
<li><span style="font-size: 18px;"><span id="171152985185690" class="nl-dce-multiconditional nl-dce-if nl-dce-variant nl-dce-variant-text nl-dce-current-variant" data-nl-condition-type="multiple_text" data-nl-variant-group="171152985186532" data-nl-expr="/*@nlLabel isMember*/(context.targetData.isMember=== true)" data-nl-variant-index="1" data-nl-variant-desc="isMember">☑</span><span id="171152985185690" class="nl-dce-multiconditional nl-dce-if nl-dce-variant nl-dce-variant-text" data-nl-condition-type="multiple_text" data-nl-variant-group="171152985186532" data-nl-variant-default="true" data-nl-variant-label="Default" data-nl-expr="" data-nl-variant-index="0">☑</span> Membership for 1 year </span></li>Is it not possible to use condition syntax like adobe campaign classic?
<% if (targetData.isMember === true) { %> Is Member <%}%>