---
schema_version: "1"
id: e7b598fc9cfdde578560bfc118b7c7850ce547408aaeffdcff6ef2290cc8df8b
title: Validation Rules Fields
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/fields_validation_rules_fields.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.fields_validation_rules_fields.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1d65c22867817709a5d4e5729fb6378df161eedab4ddd3c01e3e2cbae2efb869
description: A list of fields and description for validation rules.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Validation Rules Fields

A list of fields and description for validation rules.

### 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;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Essentials</strong>, <strong>Contact Manager</strong>, <strong>Group</strong>, <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, <strong>Developer</strong>, and <strong>Database.com</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:32%">
          <col style="width:68%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d148695e89">Field</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d148695e92">Description</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d148695e89 "> Rule Name </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d148695e92 "> Unique identifier of up to 40 characters with no spaces or special characters
              such as extended characters. </td>

          </tr>
          <tr class="">
            <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d148695e89 "> Active </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d148695e92 "> Checkbox that indicates if the rule is enabled. </td>

          </tr>
          <tr class="">
            <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d148695e89 "> Description </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d148695e92 "> A 255-character or less description that distinguishes the validation rule
              from others. For internal purposes only. </td>

          </tr>
          <tr class="">
            <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d148695e89 "> Error Condition Formula </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d148695e92 ">The expression used to validate the field. See <a href="https://help.salesforce.com/s/articleView?id=platform.customize_formulas.htm&amp;release=264.0.0&amp;type=5" title="Your custom formula fields require special attributes.">Build a Formula Field</a> and <a href="https://help.salesforce.com/s/articleView?id=platform.customize_functions.htm&amp;release=264.0.0&amp;type=5" title="Use these operators and functions when building formulas. All functions are available everywhere that you can include a formula, such as formula fields, validation rules, approval processes, and workflow rules, unless otherwise specified.">Formula Operators and
                Functions</a>. </td>

          </tr>
          <tr class="">
            <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d148695e89 "> Error Message </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d148695e92 ">
              <p> The message that displays to the user when a field fails the validation rule.
              </p>
              <p style="margin-bottom:0;">If your organization uses the Translation Workbench, you can translate the
                error message into the languages Salesforce supports. See <a href="https://help.salesforce.com/s/articleView?id=platform.customize_wbench.htm&amp;release=264.0.0&amp;type=5" title="Translation Workbench allows you to specify languages for translation, assign translators, and manage your translations through the workbench or bulk translation.">Enable or Disable Translation
                  Workbench</a>.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d148695e89 "> Error Location </td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d148695e92 ">
              <p>Determines where on the page to display the error. To display the error next to
                a field, choose <strong class="uicontrol">Field</strong> and select the field. If the error
                location is a field, the validation rule is also listed on the detail page of that
                field. If the error location is set to a field that is later deleted, to a field
                that is read only, or to a field that isn’t visible on the page layout, Salesforce
                automatically changes the location to Top of Page.</p>
              <p>Error messages can only be
                displayed at the top of the page in validation rules for case milestones and
                Ideas.</p>
              <p style="margin-bottom:0;">The Top of Page setting is respected in Salesforce Classic only.
                Validation rules that are set to Top of Page appear at the bottom of the page in
                Lightning Experience.</p>
            </td>

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

#### See Also

- [Define Validation Rules](https://help.salesforce.com/s/articleView?id=platform.fields_defining_field_validation_rules.htm&release=264.0.0&type=5 "Validation rules verify that the data a user enters in a record meets the standards you specify before the user can save the record. A validation rule can contain a formula or expression that evaluates the data in one or more fields and returns a value of “True” or “False”. Validation rules also include an error message to display to the user when the rule returns a value of “True” due to an invalid value.")