Creating Email Field Data Type in Salesforce Object

Introduction

 
Salesforce CRM can give many data type fields to get different information from users and store it in our org. The information includes name, date of birth, birth time, work location, email, mobile number, etc.…
 
Salesforce has separate fields to record email details from a user, called the E-mail field data type field. This field can validate if the given email ID is valid or not.
 
By reading this article, you will learn about how to create E-mail field data type in salesforce object.
 
Prerequisites
  • Before starting this process, you must sign up in the Salesforce Trailhead lightning platform. Click here to sign up
Step 1
 
Login to trailhead and Launch “trailhead playground” or “Developer Edition”
 
Step 2
 
Click the “Gear” icon and then click the “Setup” option.
 
Creating Email Field Data Type In Salesforce Object
 
Step 3
 
On the setup page, click “Object Manager” at the top of the page.
 
Creating Email Field Data Type In Salesforce Object
 
Step 4
 
Read my previous article, how to create a custom object in the Salesforce lightning platform.
 
On the object manager page, scroll down and click the created our custom object name from the object list.
 
Creating Email Field Data Type In Salesforce Object
 
Step 5
 
In our created custom object page, click the “Fields & Relationship” option from the left side pane.
 
Creating Email Field Data Type In Salesforce Object
 
Step 6
 
Next, in fields and relationship page our predefined fields are listed. Now we are creating a new E-mail field from datatype by clicking the “New” button.
 
Creating Email Field Data Type In Salesforce Object
 
Step 7
 
On the next page, many data types are listed on the page. Select the “E-mail” data type radio button and then click the “Next” button.
 
Creating Email Field Data Type In Salesforce Object
 
Step 8
 
Enter all require fields and then click the “Next” button.
 
Creating Email Field Data Type In Salesforce Object
 
Step 9
 
Click the “Next” button on the field-level security page. On the Add to Page Layout page, click the “Save” button.
 
Creating Email Field Data Type In Salesforce Object
 
Our created object displays on our fields and relationship page.
 
Creating Email Field Data Type In Salesforce Object
 

Test Our Created E-Mail Data Type Field

 
Step 1
 
Click the “App launcher” icon at the top left corner on the page and then click the “View all” option.
 
Creating Email Field Data Type In Salesforce Object
 
Step 2
 
The app launcher pop-up window will be opened. Search for our created object name in the search box and then click the object name.
 
Creating Email Field Data Type In Salesforce Object
 
Step 3
 
Our object page will be opened, click the “New” button.
 
Creating Email Field Data Type In Salesforce Object
 
Step 4
 
In the pop-up window, enter all details in the required field and scroll down to last. Our created E-mail field will be displayed. Enter a sample Email address and then click the “Save” button.
 
Creating Email Field Data Type In Salesforce Object
 

Summary

 
Finally, we created an E-mail data type field and then tested successfully. Our stored E-mail info will be displayed on the page.
 
Creating Email Field Data Type In Salesforce Object