Hide text in template

Is there a code to hide text in a template. I’d rather not delete the text entirely.

Change the colour to white?

It depends on why you want to hide the text. If you want to keep it “just in case”, wrap your text in an “if” clause that has an impossible condition, such as {{#CurrentClient.Info.ID.FirstName=“XXX”}}.

With a bit of research and playing, I found this solution to comment out a block of text, thus allowing you to keep the text in place in case it is required later. It works for most situations.

START your text block with this code: {{#!}}
and END your text block with this code: {{/!}}

@kevin had a good idea of creating impossible IF statement conditions to prevent the text from being used, but commenting it out this way is easier.

1 Like