Skip to main content

Block and Checkbox Tags

Block tags let you automatically show or hide content depending on whether a checkbox is checked or not

⚠️ Important
Before using block tags, we recommend reading the tutorial What are Block tags? to fully understand their role and how to use them.

The examples shown here use generic identifiers. When applying them in practice, remember to replace them with the actual identifiers of your fields.

1. Show content when the checkbox is checked

To display a table, text, a photo, or the content of a form field only when the checkbox is checked, simply add _block: right after the first two hash signs (##) of the Checkbox field tag.

The syntax is as follows:

##_block:checkbox##

Content to display (table, text, image, tag, etc.)

##_block:checkbox##

Example showing an image only if the checkbox is checked:

2. Hide content if the checkbox is not checked

To hide content when the checkbox is not checked, complete the Checkbox field tag by adding _block: right after the first two hash signs (##), then the -0 (zero) suffix before the last two hash signs.

The syntax is as follows:

##_block:checkbox-0##

Content to hide (table, text, image, tag, etc.)

##_block:checkbox-0##

Example hiding a table if the checkbox is not checked:

💡 Tip

To make your export template easier to read and edit, you can highlight the block tags. This highlighting won't appear in the final export, but it will help you quickly spot them if you need to rework the template.

Did this answer your question?