Salesforce supports many fields types, depending upon the required custom field can be created or can be converted from existing data. Suppose if we want to create a Lookup Relationship between the parent object and the parent object, we use the Lookup Relationship field.

In Salesforce, before creating any custom field, we must choose the field type the suits for our requirement. Let us learn about different fields types available in Salesforce.

  • Auto-number: Auto-number is a system generated sequence number used to display format whatever we define. Automatically incremented for each new record.
  • Formula: Formula field is a read-only field which gets values from formula expression that defined. Formula field type changes, when the source field changes.
  • Roll-Up Summary: Roll-Up Summary field is a read-only field that displays sum, min, max values of a field in a related list.
  • Lookup Relationship: Lookup Relationship field creates a relationship between two objects (parent object and child object). This field type, allows users to click on a lookup icon to select a value from a popup list.
  • Master-Detail Relationship: Master-Detail relationship field creates a specific type of parent-child relationship.
  • Checkbox: Checkbox field type allows users to select a True(checked) or False (Unchecked).
  • Currency: Currency field allows users to select a Dollar or any other country currency amount. This field type is used to export data to Excel sheets or spreadsheets.
  • Date: It allows users to enter a date.
  • Date / Time: It allows users to enter date & time or pick date/time from a popup calendar.
  • Email: It allows users to enter an Email address, which is validated to ensure proper format.
  • Number: Number field type allows users to enter any number. Leading zeros are removed.
  • Percent: Percent(%) allows users to enter a % number, it automatically adds % symbol to the entered number.
  • Phone: In this field type, the user can enter a mobile number in mobile number format.
  • Picklist: Picklist displays a list of values,  the user must select a value from the list.
  • Picklist (multi-select): Multiple values can be select using multi-select picklist field type in salesforce.
  • Text: It allows users to enter both letters & Numbers.
  • Text area: It allows users to enter numbers & text up to 225 characters.
  • Text area(long): User can enter up to 32768 characters on separate lines.
  • Text area(rich): In this field type, the user can enter formatted text, add images and links up to 32786 characters.
  • Text(Encrypted): It allows users to store numbers and text in an encrypted form.
  • URL: It allows users to enter a valid email address.