Doc Variables
← Back to Resources

Introducing Logics

Introducing Logics

A request I've fielded for almost the entirety of this project was the ability to turn blocks of content on or off depending on certain conditions. This implementation doesn't fit the exact requirements most of the requesters made, but it's a good start.

Syntax

?{{Variable Reference}(=)[Text]::This is the content I want to appear}

Examples

Basic:

${Company Name::hidden}

?{{Company Name}(=)Doc Variables::Write out some Doc Variable content!}

Comparing Variables:

${Contact Name}

${CEO Name}

?{{Contact Name}(=){CEO Name}::Better make this good.}

Ready to try Doc Variables?

Join 190,000+ users creating amazing Google Doc templates.

Install Now - It's Free