--- title: "How to use AND and OR Conditions inside Widget Segments" slug: "how-to-use-and-and-or-conditions-inside-widget-segments" updated: 2026-08-12T09:24:32Z published: 2026-08-12T09:24:32Z canonical: "support.whatfix.com/how-to-use-and-and-or-conditions-inside-widget-segments" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.whatfix.com/llms.txt > Use this file to discover all available pages before exploring further. # How to use AND and OR Conditions inside Widget Segments While setting up your widget segments, you can use the AND/OR settings for conditions. You can also use both these conditions together as a combination in a segment. Here, the AND acts as a delimiter and all the conditions between two ANDs gets evaluated. ### Use Cases You can use AND/OR conditions in the following, - Visibility rule conditions For example: If you have multiple hostnames and you would like to set one common segment, set the Visibility Rules with an OR condition. - Segment content by tag content - Search Scope by tags Use the following steps to use this setup: 1. On the Whatfix Guidance dashboard, click **Widgets**. ![ia_left_nav_widgets2](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ia_left_nav_widgets%282%29.png) 2. Click **All widgets**. ![ia_widgets_all_widgets1](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ia_widgets_all_widgets%281%29.png) 3. Click **Create widget**. ![CLM_DB_CreateWidget2](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/CLM_DB_CreateWidget%282%29.png) 1. Select the widget you want to create. **Info** - AND acts as a delimiter - The parentheses between these conditions would be denoted by the light grey background