You are here:
Name Screen Input Component
Let users enter multiple name values with one screen component. Instead of the Name screen component, you can use Text input fields to capture name information, but it takes a lot more configuration.
Required Editions
Configure the Name Component
You can select resources from the flow, such as variables or global constants, or you can manually enter a value.
| Attribute | Description |
|---|---|
| API Name | The API name of the component. An API name can include underscores and alphanumeric characters without spaces. It must begin with a letter and can’t end with an underscore. It also can’t have two consecutive underscores. |
| Disabled | If set to true, the user can’t modify the value. The default value is false. This attribute accepts a resource with a Boolean value. |
| Fields to Display | By default, the component displays only the First Name and Last Name fields, but other fields are available. To customize which fields to display at run time, set this attribute to a comma-separated list of the field names.
This attribute doesn’t control the order that the fields display in. For example, to display all the fields, set this attribute to firstName, lastName, middleName, informalName, salutation, suffix. This attribute accepts single-value resources. The value is treated as text. |
| First Name | The value of the First Name field. Setting this attribute prepopulates the field. To use the value that the user enters, store this attribute’s output in a variable. This attribute accepts single-value resources. The value is treated as text. |
| Informal Name | The value of the Informal Name field. Setting this attribute prepopulates the field. To use the value that the user enters, store this attribute’s output in a variable. This attribute accepts single-value resources. The value is treated as text. |
| Label | The label that appears above the name fields. This attribute accepts single-value resources. The value is treated as text. |
| Last Name | The value of the Last Name field. Setting this attribute prepopulates the field. To use the value that the user enters, store this attribute’s output in a variable. This attribute accepts single-value resources. The value is treated as text. |
| Middle Name | The value of the Middle Name field. Setting this attribute prepopulates the field. To use the value that the user enters, store this attribute’s output in a variable. This attribute accepts single-value resources. The value is treated as text. |
| Read Only | If set to true, the user can’t modify the value, but the user can copy it. The default value is false. This attribute accepts a resource with a Boolean value. |
| Salutation | The value of the Salutation field. Setting this attribute prepopulates the field. To use the value that the user enters, store this attribute’s output in a variable. This attribute accepts single-value resources. The value is treated as text. |
| Salutation Options | By default, the options for Salutation are Mr., Mrs., and Ms. To override these options, set this attribute to a comma-separated list of values. This attribute accepts single-value resources. The value is treated as text. |
| Suffix | The value of the Suffix field. Setting this attribute prepopulates the field. To use the value that the user enters, store this attribute’s output in a variable. This attribute accepts single-value resources. The value is treated as text. |
Store the Name Component’s Values in the Flow
The flow stores values automatically. If you store values manually, store the attribute’s output value in a variable.
To store values manually, select Manually assign variables (advanced).
All attributes are available to store in flow variables. Most likely, you must store one of these attributes.
| Attribute | Description |
|---|---|
| First Name | What the user entered in the First Name field. This value can be stored in a single-value Text variable or a Text field on a record variable. |
| Informal Name | What the user entered in the Informal Name field. This value can be stored in a single-value Text variable or a Text field on a record variable. |
| Last Name | What the user entered in the Last Name field. This value can be stored in a single-value Text variable or a Text field on a record variable. |
| Middle Name | What the user entered in the Middle Name field. This value can be stored in a single-value Text variable or a Text field on a record variable. |
| Salutation | What the user entered in the Salutation field. This value can be stored in a single-value Text variable or a Text field on a record variable. |
| Suffix | What the user entered in the Suffix field. This value can be stored in a single-value Text variable or a Text field on a record variable. |
- Navigates to another screen and returns to the component’s screen.
- Pauses the flow then resumes it.
- Navigates to the next screen and triggers an input validation error.
Setting the attribute enables a flow to remember the value. The flow stores the value automatically. If you store values manually, store the attribute’s output value in a variable.
Set the Component Visibility
Specify the logic that determines when the flow displays the component.
| Option | Description |
|---|---|
| When to Display Component | Configure when the component is displayed by using conditional logic. You can set the components to:
|
Validate Input
Provide a formula that evaluates whether what the user entered is valid and the error message to display if invalid.
| Option | Description |
|---|---|
| Error Message | Specify the error message that appears below the component if the user enters an invalid value. |
| Formula | Provide a formula expression that returns a Boolean value. If the formula expression evaluates to true, the input is valid. If the formula expression evaluates to false, the error message appears below the component. If the user leaves the field blank and the field isn’t required, the flow doesn’t perform the validation. If the user leaves the field blank and the field is required, the flow shows the default error message and not your custom error message. |
Specify the Behavior of Values on Revisited Screens
Specify what this component does when a user enters a value, navigates to a previous screen, and then returns to the screen with this component.

