---
title: "Optional step does not work"
slug: "optional-step-does-not-work"
updated: 2024-10-30T09:29:43Z
published: 2024-10-30T09:29:43Z
---

> ## 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.

# Optional step does not work

## Issue

Optional steps give you the flexibility to skip certain steps that the user does not need to do. For example, if the user is already logged in to the application, optional steps to log in to the application are skipped. However, these optional steps sometimes appear in the Flow even when they are unnecessary.

![toastmasters_optional_step.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/toastmasters_optional_step.png)

## Probable Cause

One identified reason, particularly in login scenarios, is that Login and Logout buttons often use similar user interface (UI) elements. Whatfix may incorrectly identify a Logout button as a Login button and display the associated content.

![toastmasters_login_element.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/toastmasters_login_element.png)

![toastmasters_logout_element.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/toastmasters_logout_element.png)

## Suggested Solution

Configure a **Display Rule** for the Login element to show the tooltip only if the selected element text is valid.

Under **Display Rules**, choose **Selected Element Text** as **Login**. This ensures that the login steps in the Flow appear only when the element has the text Login on it. If the text is not Login, the login steps are skipped and the flow continues to the next step. ![select_element.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/select_element%282%29.png)

          your title goes here

          

If the issue persists, contact [support@whatfix.com](mailto:support@whatfix.com?Subject=Optional%20Step%20does%20not%20work%20&amp;Body=Hello%20Team%2C%0A%0APlease%20assist%20me%20with%20optional%20steps.%20They%20do%20not%20work.%20I%20have%20configured%20display%20rules%20and%20selected%20Element%20Text.%20%0A%0AThanks%20and%20regards.).

## Related

- [Define a step as optional](/defining-a-step-as-optional.md)
