In this article, we'll explore how to create a Screen Component in Salesforce Flow that behaves dynamically by showing a Text box only when a specific value is selected in a Dependent Picklist and hiding it for other selections. This helps improve user experience by displaying only the relevant fields.
For example, a customer intake form shows an 'Explain if Other' text box only when the user selects 'Other' from a category dropdown — improving form clarity and reducing data entry errors.
This article explains how to configure a Salesforce Screen Flow so that a Text component appears only when a specific value, such as "Other", is selected in a Dependent Picklist component, and stays hidden for all other values.
| API Name | recordId |
| Data Type | Record |
| Available for input | Check this box |
Note: The name of the Variable must be exactly recordId, without any quotation marks or spaces.
Note: Update these values to match the object and field API names in your org.
| Resource | {!Dependency.middleValue} |
| Operator | Equals |
| Value | Other |
005227554

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.