Slaesforce FAQ

can't choose custom field for dependency salesforce

by Dr. Brad Gottlieb III Published 2 years ago Updated 2 years ago
image

What is field dependency in Salesforce?

Field Dependency in salesforce - Salesforce Tutorial Field Dependency: Field dependency means, controlling a fields value based on the other field. For example, there are two fields called Country & State. I w Field Dependency: Field dependency means, controlling a fields value based on the other field.

Is it possible to create dependent picklists in Salesforce?

The native/out-of-the-box functionality for dependent picklists in Salesforce is limited to either a picklist or a checkbox as the controller and only a picklist can be the dependent. You cannot, using Salesforce's default functionality, build something like what you are suggesting.

Is it possible to create a dependency for text fields?

You can't create a dependency in the sense of 'enabling' or 'disabling' the text field. You can create a validation Rule that makes sure there is a value in a text field when a picklist choice has been made. Thanks for your timely help...

Is it possible to create a custom Visualforce page in Salesforce?

You cannot, using Salesforce's default functionality, build something like what you are suggesting. I'm not sure I understand exactly what you would like to do, but if you want to do something such as activating certain fields, you'll need to build a custom visualforce page.

image

How do I add a field dependency in Salesforce?

Define Dependent PicklistsFrom the management settings for the object you want to add a field to, go to Fields. ... Click Field Dependencies.Click New.Choose a controlling field and dependent field. ... Click Continue.More items...

How do I edit a field dependency in Salesforce?

From the management settings for the picklist's object, go to Fields. Click Field Dependencies. Click Edit next to the field dependency relationship you want to change. Use the field dependency matrix to specify the dependent picklist values that are available when a user selects each controlling field value.

How do I add a field dependency?

Creating a field dependency fields – Go to setup menu and select the object you want to create field dependency. – Click on filed dependency button & select controlling and dependent fields. See the below screen for reference. Click on continue and select dependent fields under controlling fields.

Can we create field dependency in Salesforce?

Login Salesforce to create Field Dependencies in Salesforce for pharma product. Go to Setup | Build | Create | Objects | Pharma Product | Custom Field and relationships | Field Dependency. Click on Field Dependencies as shown above.

What fields can be dependent fields in Salesforce?

A dependent picklist is a custom or multi-select picklist for which the valid values depend on the value of another field, called the controlling field . Controlling fields can be any picklist (with at least one and fewer than 300 values) or checkbox field on the same record.

Which fields Cannot be a controlling field for dependent Picklists?

Dependent picklists and controlling lead fields can be mapped to account, contact, or opportunity fields with different dependency rules. Multi-select picklists can be dependent picklists but not controlling fields. Custom picklist fields can be either controlling or dependent fields.

What is a dependent field?

Dependent fields can be any type of field (checkbox, numeric, text), except for dropdown fields. Dependent fields display only if you select a specific value in parent fields.

Can a text field be a dependent field in Salesforce?

So far from everything I've read (been searching around for quite awhile now) you can't make a field dependency for text fields. The controlling field would still be a picklist ("Products") but the dependent field would be a text field called "Other".

How do I create a sub field in Salesforce?

Try It YourselfIn your Salesforce org, click. ... Click the Object Manager tab. ... From the Object Manager. ... From the sidebar, click Fields & Relationships. ... Click New to create a custom field. ... Next, choose a data type.More items...

Can a text field be dependent on picklist?

The only fields eligible for dependency are Picklists and Checkbox fields. (Checkboxes can only be controlling, not dependent, fields). If you don't want to build custom functionality in Lightning or Visualforce, Validation Rules are the best currently available solution.

How many field dependencies we can use in visual force page?

At max you can use 10 Field Dependencies in Visualforce Page.

Field level requirements

This is the most restrictive of requirements, and it requires the field to be entered all the time, regardless of how the record is saved (i.e. through an integration, the API, mass upload, or through the User Interface). Read through these instructions for more information.

On the page layout

This option only makes the field required when the specific page layout that you set this requirement on is accessed. Therefore, you could technically make this required for some Users that use a particular page layout but not others. Please review, Customize Page Layouts with the Enhanced Page Layout Editor .

Validation rule requirement

You can build more complex validation rules that have conditional statements to meet your business needs. Please review Define Validation Rules.

image
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9