Loading
Salesforce Help 사이트 “Help Agent powered by Fin” 도입 안내더 많이 읽기
Tableau 고객 대상: Tableau를 이용하는 고객이 Help 사이트에서 사례(케이스)를 등록할 수 없는 경우의 대체 수단더 많이 읽기
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Require a Text Field to be populated when the ‘Other’ option is selected in a picklist

게시 일자: Aug 21, 2026
상세 설명

Sometimes there are business requirements to collect additional information when there is a picklist option like Other. To allow for requiring the secondary field only when the Other option is selected, you can use a validation rule. In this example we are going to look at the account object however this can be done on any object including Lead, Contact, Opportunity, Custom Objects etc. 

솔루션

Creating a Validation Rule to Selectively Enforce the Field Requirement

This resolution explains how to require a text field (like "Other Type") to be filled in only when a specific picklist option (like "Other") is selected, using a validation rule.

[Completed validation rule enforcing the Other Type field when Type equals Other

This image shows the completed validation rule that was created based on the below instructions.

Step 1: Choose the Object

In Setup, navigate to the object that has the picklist you need to enforce this rule on. In this example, we're going to use Account.

Step 2: Confirm the Picklist Field

On Account, we have the standard Type picklist field. This picklist has a value option called Other.

Step 3: Create the Supporting Text Field

Create a text field called Other Type and set the Characters to 255.

Step 4: Save the Field

Save the new Other Type field.

Step 5: Create the Validation Rule

On Account, create a new Validation Rule.

Step 6: Name the Validation Rule

Give the Validation Rule a meaningful Rule Name and Description.

Step 7: Enter the Formula

Use the formula below:

AND(
ISPICKVAL(Type, 'Other'),
ISBLANK(Other_Type__c)
)

This formula triggers the validation error only when the Type field is set to "Other" and the Other Type text field is left blank.

Step 8: Add the Error Message and Save

Add an Error Message and then click Save.

Pro Tip: If you are using dynamic forms, you can hide the Other Type field on the page to only be visible when the Type field is selected as Other — this creates the best user experience.

 

Knowledge 기사 번호

000580368

 
로드 중
Salesforce Help | Article