Skip to main content
Free Agentforce workshops and AI Certifications: Learn more. Terms and conditions apply.

Grow your business with Salesforce Starter

Deepen customer relationships with sales, service, and marketing in one app.

Start your free 30-day trial
Time Estimate

Create a Custom Field

Learning Objectives 

After completing this unit, you’ll be able to:

  • Describe common use cases for custom fields.
  • Create a custom field.

Why Customize Fields?

Salesforce provides several standard fields in each record. Standard fields are common to most CRM businesses, like company name, contact, account number, status, date, and amount. But every business is unique, and you may want to capture important info that’s not covered by a standard field.

Custom fields are the way to do this. You can create custom fields on standard Salesforce objects or on custom objects. When you create a custom field, you decide where it appears, what info it contains (1), what format it should be (such as number, text, date, or picklist) (2), and who sees it and who can change the field value. 

Data types you can choose to determine the format of a custom field.

Fields can store many different types of data. When you create a field, it’s important to define whether you want users to choose from a predefined list of options or whether you want them to enter raw info. For example, you might offer a common set of values for a custom field with the label Status—new, assigned, in progress, and complete—to track work consistently across multiple accounts. Or you might add a free-form text field for comments or account details that vary from record to record. 

Try It Yourself

  1. In your Salesforce org, click Setup and select Setup to open Setup.
  2. Click the Object Manager tab. If you don’t see it, enter Object Manager in the Quick Find box.
  3. From the Object Manager Object Manager page, select an object such as Account or Asset. This opens a details page for that object.

close-up of Object Manager page

  1. From the sidebar, click Fields & Relationships. Notice that there are already some fields there. These are the existing standard and custom fields for the object.
  2. Click New to create a custom field. Tip: Before creating a new field, do a quick search to make sure a similar one doesn’t already exist,

close-up of the new button used to create a new custom field

  1. Next, choose a data type. Choosing a data type helps you format the field input. For example, if you create a field with the Date data type, users can enter a date or pick one from a popup calendar.

Account detail page showing rules and format for a date custom field.

  1. Click Next, and then fill out the Field Name, input format (text, numbers, decimals, and so on), and description, and click Next.
  2. Select the field’s visibility and edit access.
  3. Click Next. Then click Save.

Watch a video that demonstrates how to create custom fields in Lightning Experience.

Summary

Custom fields make Salesforce work better for you and your business. The total number of fields you can create depends on which edition of Salesforce you’re using. For Enterprise customers, the limit is usually 800 custom fields. 

Resources 

Share your Trailhead feedback over on Salesforce Help.

We'd love to hear about your experience with Trailhead - you can now access the new feedback form anytime from the Salesforce Help site.

Learn More Continue to Share Feedback