Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
Full Dependent Field entry
How-to guide

How to set up a Dependent Field properly

The pattern: confirm both Controlling and Dependent fields exist as picklists, create the dependency, map the matrix with Include All as starting point, pair with Validation Rule for API-level enforcement. The setup is straightforward; the discipline is in the validation rule pairing.

By Dipojjal Chakrabarti · Founder & Editor, Salesforce DictionaryLast updated May 18, 2026

The pattern: confirm both Controlling and Dependent fields exist as picklists, create the dependency, map the matrix with Include All as starting point, pair with Validation Rule for API-level enforcement. The setup is straightforward; the discipline is in the validation rule pairing.

  1. Create the Controlling and Dependent picklists first

    Both fields must exist before the dependency can be created. Build the picklists with their full value sets.

  2. Open Field Dependencies for the object

    Object Manager, pick the object, Fields and Relationships, Field Dependencies. Click New.

  3. Pick Controlling and Dependent fields

    Controlling is the field whose value drives the dependency. Dependent is the field whose available values change based on Controlling.

  4. Use Include All to start the matrix

    Enable every combination as the starting point. Then disable invalid cells. Faster than enabling cells one at a time for large picklists.

  5. Save and test in the UI

    Open a record, pick a Controlling value, confirm the Dependent picklist refreshes correctly. Test multiple Controlling values.

  6. Add a Validation Rule for API enforcement

    Field Dependencies enforce only in the UI. A Validation Rule that asserts the same constraint at the platform level holds the dependency across Data Loader and API.

  7. Document the dependency rationale

    The matrix is not self-explanatory. Document the intent in object documentation so future admins understand why specific combinations are disabled.

Controlling Fieldremember

Picklist or checkbox whose value drives the Dependent Field's available values.

Dependent Fieldremember

Picklist whose available values are constrained by the Controlling Field.

Dependency matrixremember

Per-cell configuration of which (Controlling, Dependent) pairs are valid.

Validation Rule pairingremember

Platform-level enforcement complementing the UI-level dependency. Required for API-entry integrity.

Multi-level chainingremember

Dependent fields can themselves control deeper Dependent fields. Adds matrix complexity per level.

Gotchas
  • Field Dependencies enforce in the UI only. Data Loader and API bypass them; pair with a Validation Rule for full integrity.
  • The matrix starts empty by default. Without Include All, no Dependent values appear; admins regularly miss this on first setup.
  • Multi-level dependencies multiply matrix configuration burden. Cap at two levels unless genuinely required.
  • Record Type restrictions and Field Dependencies layer together. Reason about combined behavior carefully; document the intent.
  • Very large picklists make the matrix unwieldy. Consider lookup relationships for value sets past a few hundred per axis.

See the full Dependent Field entry

Dependent Field includes the definition, worked example, deep dive, related terms, and a quiz.