Is it possible to conditionally hide a page in the document?
Yes, it is possible to conditionally hide a page in a document. By using specific conditions, you can set up your document to automatically exclude certain pages. This feature helps streamline your document creation process, ensuring that only relevant content is included based on the conditions you define.
How to hide a page based on a condition
To hide a page when the data matches a condition, set up Conditional formatting on the page:
- Right-click an empty area of the page and select Conditional formatting.
- Under Hide page if matches the condition, select the Data field and the Operator, enter the Value, and click Apply.
- To set more than one condition for the same page, click Add new conditional rule and fill in the next condition.
Use-case of Expression Language in Conditional Formatting
Let's imagine a use-case where you want to hide the page when both {dataFieldName} and {dataFieldName2} are empty. In this case, the expression would look like this:
empty({dataFieldName}) && empty({dataFieldName2})
This expression will ensure that the page is hidden if both data fields are empty. You can also find more examples of expression language here.
Related articles you may find helpful
- How to embed editor to my application?
- Is it possible to conditionally change the component style or hide the component?
- Supported operators
Updated on: 05/10/2026
Thank you!
