- 01 Aug 2025
- 5 Minutes To Read
- Print
- DarkLight
- PDF
Visibility and Display Rule Conditions
- Updated On 01 Aug 2025
- 5 Minutes To Read
- Print
- DarkLight
- PDF
Overview
Visibility Rules: Used to define where and to whom you want to display widgets, such as Task Lists or Self Help. Users can configure Visibility Rules only while creating segments on the Whatfix Guidance Dashboard.
Display Rules: Used to define when to show tooltips based on the conditions met. Some conditions enable you to define where you want to show the tooltips. Users can configure Display Rules while creating guidance content such as Flows, Smart Tips, and more on Whatfix Studio, or after creating on the Whatfix Guidance Dashboard.
Note:
If you see the following UI, you have the Advanced Visibility Rules enabled for your account. For more information, see Understand Advanced Visibility Rules.
The following table lists all the conditions used while configuring the Visibility Rules to segment widgets or Display Rules to show the tooltips on your Mirror. These rules determine where and when guidance content is to be displayed on your Mirror.
Condition | Description |
---|---|
URL Properties | URL Properties help identify a web page and enable you to add them as Visibility or Display Rule conditions for guidance content and widgets. For more information, see URL Properties. The following are the URL Properties that you can use:
|
Other Element on Page | If you want to identify a page based on the presence of a particular element (other than the one selected by you) on your web page, you can use this condition. The values passed to this condition are CSS selectors like #ID, class, or JQuery. For more information, see Other Element on a Page condition rule. |
Window Variable | If you choose to include Advanced Customization, you can identify users based on the value of a specific Javascript global variable. This variable, called a Window Variable, can then be used as a Visibility or Display rule. For more information, see Window Variable condition rule. |
Attribute Condition | Attribute condition rules enable you to fetch specific information based on roles, departments, geography, accounts, etc. and segment content to show to particular users. Once the attributes are integrated with Whatfix, you can see them in the visibility rules of widgets for content segmentation. For more information, see Attributes condition rules. The following are the Attribute Conditions that you can use:
|
Selected Element | The Selected Element rules enable you to add identifiers or properties for unique elements on your web page as a Display Rule. For more information, see Selected Element condition rules. The following are the Selected Elements that you can use:
|
User Action | If a User Action is created on an element, it acts as a trigger to display content based on the action your end-users perform. For more information, see User Action condition rule. |
Tags | If you want to organize information into categories and identify specific pages or roles on your application to display relevant content or widget, you can use a Tag, which is a word, title, or group that enables categorization. Two types of Tags can be used as a Visibility Rule:
|
Action Element | If you want to ensure that action on a particular element triggers the branched Flow, you can use the Action Element Is or Action Element Text as a display rule. This enables you to add identifiers or properties to ensure that the branched Flow starts on the correct element. For more information, see Action Element conditions as Display rules. |
Note:
Use multiple visibility or display rule conditions only when required.
Supported Operators
Operators in Whatfix refer to the logical expressions that are used to determine whether a Visibility or Display rule condition is met according to a set value. These operators can be used to compare two values, such as "equals", "greater than", "less than", or "not equals", and thus decide whether to show or hide a particular content element based on the condition.
For example, if the Visibility rule is set to "show content only if the user has the 'editor' role", the operator used would be "equals" to compare the user's role with the set value of 'editor'. If the user's role matches the set value, the content will be displayed; otherwise, it will be hidden. For more information, see Supported Operators for Visibility and Display Rules.