--- title: "Supported Operators for Visibility and Display Rules" slug: "supported-operators-for-visibility-rules" updated: 2026-08-11T13:38:30Z published: 2026-08-11T13:38:30Z canonical: "support.whatfix.com/supported-operators-for-visibility-rules" --- > ## 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. # Supported Operators for Visibility and Display Rules Note: If you see the following UI, you have the New Visibility Rules enabled for the account. For more information, see [Understand New Visibility Rules](https://support.whatfix.com/docs/understand-visibility-rules-20). ![Visibility Rules 2.0 screenshot](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/vr2_main%20page.png?sv=2026-02-06&spr=https&st=2026-11-10T18%3A17%3A42Z&se=2026-11-10T19%3A17%3A42Z&sr=c&sp=r&sig=Y%2BE9ptScapIDRqzWybK11TMwbUr60X7eRb1K48Y8V8Q%3D) Operators in Whatfix help determine whether a Visibility or Display rule condition is met according to a set value and thus show content based on it. There are three types of operators supported by Whatfix: - [Basic Supported Operators](/studio/docs/supported-operators-for-visibility-rules#basic-supported-operators) - [Additional Supported Operators](/studio/docs/supported-operators-for-visibility-rules#additional-supported-operators) - [Supported Operators for the Other Elements on Page rule](/studio/docs/supported-operators-for-visibility-rules#supported-operators-for-the-other-elements-on-page-rule) ### Basic Supported Operators Some operators in Whatfix are supported by all the Visibility and Display rule conditions, except the **Other Elements on Page** rule. ![Visibility_rule_Additional_operators.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Visibility_rule_Additional_operators.png?sv=2026-02-06&spr=https&st=2026-11-10T18%3A17%3A42Z&se=2026-11-10T19%3A17%3A42Z&sr=c&sp=r&sig=Y%2BE9ptScapIDRqzWybK11TMwbUr60X7eRb1K48Y8V8Q%3D) The following are the operators: | Operator | Description | | --- | --- | | Equals | For an exact match | | Not Equals | Doesn't equal the value | | Contains | The set value is present anywhere in the value of the condition (Check for strings). | | Not Contains | The set value is not present anywhere in the value of the condition. | | Starts With | The set value is at the beginning of the value of the condition. | | Ends With | The set value is at the end of the value of the condition. | | Exists | The set value is available (or true). | | Not Exists | The set value is not available (or false). | > [!NOTE] > Info: > > Page and Role tags only support the **Exists** and **Not Exists** operators. --- ### Additional Supported Operators Visibility and Display rule conditions like [Window Variable](/studio/docs/window-variable-condition-rule), [User Attribute](/studio/docs/attributes-condition-rules), and [Enterprise Attribute](/studio/docs/attributes-condition-rules) support some additional operators. ![Window_variable_Additional_supported_operators.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Window_variable_Additional_supported_operators.png?sv=2026-02-06&spr=https&st=2026-11-10T18%3A17%3A42Z&se=2026-11-10T19%3A17%3A42Z&sr=c&sp=r&sig=Y%2BE9ptScapIDRqzWybK11TMwbUr60X7eRb1K48Y8V8Q%3D) The following are the operators: | Operator | Description | | --- | --- | | Greater than | The set value is greater than the value of the condition | | Less than | The set value is less than the value of the condition | | Date Greater than | Any day after the set date | | Date Less than | Any day before the set date | | Completed | Set User Action needs to be completed by the user | > [!WARNING] > Note: > > - **Greater Than** and **Less Than** accept only numerical values. > - For **Date Greater Than/Less Than** in Window Variable, the default format is "MM/DD/YYYY". The format can be changed to match your system's date format. To change the format, contact [support@whatfix.com](mailto:support@whatfix.com?Subject=Change%20the%20date%20format%20of%20operators%20&Body=Hello%20Team%2C%0A%0AI%20want%20to%20change%20the%20default%20date%20format%20%28MM/DD/YYYY%29%20for%20the%20Date%20Greater%20Than%20and%20Date%20Lesser%20Than%20operators%20present%20in%20Visibility%20and%20Display%20rules%20for%20my%20account.%20%0APlease%20provide%20assistance.%0A%0AThanks%20and%20Regards.). > - For **Date Greater Than/Less Than** in User and Enterprise Attributes, the default format is the ISO date format. For example, 2001-08-19T17:38:56.235+0000, YYYY-MM-DDTHH:MM:SS.sss. The +0000 indicates the offset from UTC (Coordinated Universal Time). > - Date: August 19, 2001 (YYYY-MM-DD) > - Time: 17:38:56.235 (HH:MM:SS.sss) > - Time zone offset: +0000 (UTC) > [!NOTE] > Info: > > - User Action only supports the **Completed** operator. > - **Completed** is not available for any other Visibility and Display rule. ![user_action_completed_operator.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_action_completed_operator.png?sv=2026-02-06&spr=https&st=2026-11-10T18%3A17%3A42Z&se=2026-11-10T19%3A17%3A42Z&sr=c&sp=r&sig=Y%2BE9ptScapIDRqzWybK11TMwbUr60X7eRb1K48Y8V8Q%3D) --- ### Supported Operators for the Other Elements on Page rule The [Other Elements on Page rule](/studio/docs/other-element-is-condition-rule) has a list of operators different from the rest of the Visibility and Display rules. ![Visibility_rule_Other_elements_on_page.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Visibility_rule_Other_elements_on_page.png?sv=2026-02-06&spr=https&st=2026-11-10T18%3A17%3A42Z&se=2026-11-10T19%3A17%3A42Z&sr=c&sp=r&sig=Y%2BE9ptScapIDRqzWybK11TMwbUr60X7eRb1K48Y8V8Q%3D) The following are the operators: | Operator | Description | | --- | --- | | Exists CSS Selector | Set value is the CSS class or id of the element that exists in the application UI. | | Non Exists CSS Selector | Set value is the CSS class or id of the element that does not exist in the application UI. | | Exists JQuery Selector | Set value is the jQuery selector of the element that exists in the application UI. | | Non Exists JQuery Selector | Set value is the jQuery selector of the element that does not exist in the application UI. | > [!NOTE] > Info: > > - jQuery CSS selector options always show in the UI, however, they are supported only for applications that have jQuery on the underlying platform. > - For more information about how to find the CSS Selector for an element, see [How to find the CSS Selector of an element using Whatfix Studio?](/studio/docs/how-to-find-the-css-selector-of-an-element-using-whatfix-editor) --- > [!WARNING] > Note > > - If you create a Smart Tip inside iFrames, then the window variable must be pointed to the respective frame. You may use window.frames. > - If you are adding multiple conditions, then the tip is displayed only if all the conditions are true. (Similar to the Boolean AND) ## Related - [Visibility and Display Rule Conditions](/visibility-and-display-rule-conditions-1.md) - [Visibility Rules Best Practices](/visibility-rules-best-practices.md)