- 29 Jan 2025
- 1 Minute zum Lesen
-
Drucken
-
DunkelLicht
-
pdf
Show a Launcher based on User Input
- Aktualisiert am 29 Jan 2025
- 1 Minute zum Lesen
-
Drucken
-
DunkelLicht
-
pdf
For information about existing Visibility Rules, see Visibility and Display Rule Conditions.
With Advanced Visibility Rules, Whatfix enables you to show widgets based on certain criteria on the underlying application. Select the element and set the conditions based on user inputs such as text, number, and date fields that are fetched from the underlying application to show the widgets to your users.
Consider an employee expense submission form in which employees can report business expenses. This form is only valid for expenses where the night room rate is under $300. For expenses that exceed this amount, employees must log their submissions through the employee portal.
To ensure compliance with expense reporting guidelines, hide the Submit Expense button when the room rate exceeds $300 using a Launcher. The Launcher overlays the submit button, guiding users to click it and directing them to the portal instead.
Use the following steps to implement the use case:
Create a Launcher using Whatfix Studio. For more information, see Create a Launcher.
In the Visibility Rules section for your Launcher, click When does the launcher start appearing?
On the What causes the launcher to appear? dropdown, select Something on the application.
On the What would you like to identify? dropdown, select Element.
Click Select element using studio.
Enter the URL of the page from which you want to select the element.
Click Select element.
On the redirected page, use Whatfix Studio to select the desired element. In this case, select the Room Rate field.
In the Check if element section, select Exists and compare.
On the What do you want to check? dropdown, select Element text.
On the Data type dropdown, select Number.
On the Check if value dropdown, select Greater than.
Enter the value based on which you want to show the Launcher. In this case, enter 300.
Click Save.
Make any other edits as required in the Pop-up, and then click Save.