> For the complete documentation index, see [llms.txt](https://docs.stackerhq.com/stacker-astra/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackerhq.com/stacker-astra/security/data-filters/conditional-visibility-filter.md).

# Conditional Visibility Filter

Set conditional visibility to choose when a tab or widget will appear based on data or a user. This allows you to hide information until it is necessary to show it or to choose who should see specific information when appropriate.&#x20;

For example, set a banner telling a user that information is missing when a specific field is empty.&#x20;

1. In **Edit layout** click **Set conditional visibility**
2. Select the field. In this example, it will be the "City" field
3. Select operator "is empty"

<figure><img src="/files/rZNfQVkQ4FVwuiO2QMPS" alt="" width="331"><figcaption></figcaption></figure>

<figure><img src="/files/oHaHSFPZ7NQkoh6MJ4Xd" alt=""><figcaption></figcaption></figure>
