> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.cxplanner.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Combine multiple conditions for custom fields (Show only when)

The **Show only when** setting in **Task options** controls whether a custom field appears on a task, based on the value selected in another custom field. You can now add more than one condition to **Show only when**, and the field only appears once every condition is met - which lets you build layered dependencies, for example showing **Rework responsibility** only when **Classification** is set to **Deviation** and **Deviation Handling** is set to **Rework**. 

|| Only users with the project role **Admin** can edit custom field settings in **Task options**.

## Add multiple "Show only when" conditions to a custom field

1. Open **Project settings** from the sidebar.
2. Select **Tools / Modules**, then open the **Task options** tab.
3. Find the custom field you want to control (for example **Rework responsibility**) and click its edit icon.
4. Expand **Advanced settings** if it is not already open.
5. Under **Show only when**, add a **condition**


![Combine multiple conditions for custom fields (Show only when)](https://storage.crisp.chat/users/helpdesk/website/-/e/a/2/c/ea2cfd7bb6130800/image_1w3klwm.png)

## How multiple "Show only when" conditions combine

Each row under **Show only when** is one condition, made of a field and a required value. When more than one row is present, CxPlanner combines them with **AND** logic: every condition must be true at the same time before the field is shown. In the example above, **Rework responsibility** stays hidden unless **Classification** is set to **Deviation** and **Deviation Handling** is set to **Rework** - if either value differs, the field does not appear.

Previously, **Show only when** accepted only one condition row, so a field could depend on a single other field but not on a combination of several. **Add condition** now lets you stack as many rows as the dependency needs.

If a custom field has no **Show only when** rows configured, it has no visibility restriction and always shows.
