Use Case: Hiding blocks based on current record data
Hide blocks based on the currently selected record
Use Case
Not only can you change a block’s visibility based on the User Group that a logged-in user is in, but you can also control a block’s visibility based on a currently selected record. This is great for:
- Showing different line item formats on an invoice depending on the deal type
- Showing or hiding a request form based on the type of document being viewed
- Showing or hiding different task views based on the project type or a project owners preferred task view.
- Displaying different CTAs based on a selected record
- …and much, much more.
Setup
In the example below, we want to conditionally show a request form, based on if a selected document is available to request or download. If the document has a file field that is not empty, we should only show a button to download and hide the form. If the file field is empty, we should show a form that allows end-users to request this file via email instead. This allows an administrator to track who has been given access to particular files and see how many times they have been accessed.
Hiding the Download Button
We need to hide the download button if the file field is empty. First select the block, go to the Actions tab, and select the Download button. Then click on the little branching icon in the button settings:

Once open, we can toggle on the “On Specific Records Only” button and setup some rules to hide the button if the File field is empty.

Hiding an entire block based on current record data
Since the item details block is showing only one specific record, we can use that record’s data to determine whether or not to show other blocks on the page. For our example, we want to hide a Request Form if the File field in our database (you may have other fields and field names you want to use).
First, select the block, then click on the Visibility tab and turn on the “Hide if” toggle. Setup your rules, which in our case should be If the File field “Is not empty”.

Last updated on August 28, 2025