---
schema_version: "1"
id: 37b7863528c14e2080250e789699407394f211a7167a950b6ed5e3749be787a3
title: Conditional Field Formatting in Lightning App Builder
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/conditional_formatting_overview.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.conditional_formatting_overview.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3b1e531b9770a563e27c2e52ad08d8205a5aed2b774b3245f3a2059af22480d9
description: Make a field stand out by adding special formatting based on rules and criteria you provide, so that end users can quickly identify the most relevant information on a record page. You can apply conditional formatting to almost any field on a Dynamic Forms-enabled page, including the fields in the Dynamic Highlights Panel component.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Conditional Field Formatting in Lightning App Builder

Make a field stand out by adding special formatting based on rules and criteria you provide, so that end users can quickly identify the most relevant information on a record page. You can apply conditional formatting to almost any field on a Dynamic Forms-enabled page, including the fields in the Dynamic Highlights Panel component.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col>
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Lightning App Builder available in: Salesforce Classic (not available in all
            orgs) and Lightning Experience</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Lightning pages and Dynamic Forms available in: Lightning Experience and the
            Salesforce mobile app</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p style="margin-bottom:0;">Available in: <strong>Group</strong>
              <strong>Essentials</strong>, <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>,
              <strong>Unlimited</strong>, and <strong>Developer</strong> Editions
            </p>
          </td>

        </tr>
      </tbody>
    </table>

Conditional formatting uses rulesets, which are collections of rules. Each rule is made up of conditions that determine how and when formatting appears on a field. The conditions can be based on the field's value or on the values of other fields on the page.

In the Lightning App Builder, items that have conditional formatting applied are indicated with an icon (![Conditional formatting icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/extend_click/images/lab_conditional_formatting_icon.png)).

To see, edit, or delete any rulesets that have been created for an object, use the Conditional Field Formatting node when viewing the object in Object Manager.

Conditional formatting is designed to amplify the information on the field that is already there. For best results and to ensure that the configuration is accessible, make sure the icon, icon color, and field value convey the same information, such as a green happy face on a field with a value of `Positive`.

To make conditional formatting accessible for all of your users, fields that use conditional formatting should always have a field value visible.

Because it relies on Dynamic Forms, conditional field formatting can appear on mobile only when Dynamic Forms is enabled for mobile. To make sure that your mobile users can see the conditional formatting you've applied to record fields, turn on **Dynamic Forms and Dynamic Highlights Panel on Mobile** from **Setup** | **Salesforce Mobile App**.

## Supported Fields, Field Types, and Operators

On record pages, conditional formatting rules rely on the data captured in fields associated with the page’s object. Not all fields, field types, and operators are supported.

These field types are supported:

- String type fields: Autonumber, Currency, Email, Number, Percent, Phone, Text, Text Area, URL
- ID
- Checkbox (boolean)
- Geolocation
- Picklist
- Formula fields that resolve to one of these preceding types
- Roll-up summary fields that resolve to one of these preceding types

These operators are supported.

- CONTAINS
- \= and == (Equal)
- <> or != (Not Equal)
- \> (Greater Than)
- \>= (Greater Than or Equal)
- < (Less Than)
- <= (Less Than or Equal)

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_example.png)

Example For example, you have a Customer Sentiment field on a page with available values of Positive, Neutral, and Negative. You can add conditional formatting to the field with rules configured to show a green happy-face icon when the field value is `Positive`, a grey neutral face when the value is `Neutral`, and a red sad-face icon when the value is `Negative`. That way, viewers can instantly see the sentiment based on the style and color of the icon.

![Customer Sentiment ruleset](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/extend_click/images/lab_customer_sentiment_ruleset.png)

#### See Also

- [Break Up Your Record Details with Dynamic Forms](https://help.salesforce.com/s/articleView?id=platform.dynamic_forms_overview.htm&release=264.0.0&type=5 "The more fields that there are on your page layout, the more that the Record Detail component becomes a monolithic block of fields that you can’t customize. With Dynamic Forms, you can migrate the fields and sections from your page layout to individual components in Lightning App Builder. Then you can configure them the same way as the other components on the page - spreading them out across multiple columns and tabs, and dynamically showing and hiding them based on record data, user details, and device type, so that your users get only the fields and sections that they want.")