Validation Rule on Lead to check Phone Field Mandatory if Lead Source is Other in Salesforce | Write a Validation Rule on Lead for the Phone Field is Mandatory before Lead Source Change to “Other” in Salesforce | Phone Field is Mandatory if Lead Source is Other

398 views

Hey guys, today in this post we are going to learn how to write a Validation Rule on Lead to check Phone Field Mandatory if Lead Source is Other in Salesforce.

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. To know more about Validation Rule, Click Here.

Final Output →

Why Should You Attend It?

🎯 If You Are Facing Any Of These 6 Challenges. This Masterclass Is For You.

  • Career Confusion
  • No Interview Call
  • Low Salary
  • No Promotion/Growth
  • No Finding New Job Opportunity
  • Why you stucking from past so many years in same company?

 

Phone Field is Mandatory if Lead Source is Other -- w3web.net

 

Other related post that would you like to learn in Salesforce

 

  • Find the below steps ▾

 

Phone Field is Mandatory if Lead Source is Other Validation

Step 1:- Create a validation rule in Lead using Error Condition Formula.

Follow the below steps to create validation rule on Leads

Setup >> Object Manager >> Lead >> Validation Rule >> LeadSource_Other_Validation

Don’t forgot to make enabled Active of checkbox.

  1.    IF( ISPICKVAL( LeadSource , 'Other'), ISBLANK( Phone ), FALSE)

Phone Field is Mandatory if Lead Source is Other -- w3web.net

 

Set Error Message in Validation Rule

Step 2:- Set Error Message and Error Location in Validation Rule.

Phone Field is Mandatory if Lead Source is Other -- w3web.net

 

FAQ (Frequently Asked Questions)

Is lead source restricted in Salesforce?

In Salesforce, Lead Source is a picklist field that can be set as restricted if you're trying to maintain consistent values. However, this will no doubt cause sync errors with AE, because of the more-automated way AE populates the source field.

Is lead source a standard field in Salesforce?

Lead Source is a special field that has been deliberately engineered a certain way in Salesforce. The key to understanding how Lead Source works with Account Source and Opportunity Lead Source, is to look at lead conversion.

How do I skip mandatory fields in salesforce?

In FIlter Search By, select Object, then choose the Account object. For the action, select the bypass quick action that was earlier created on your object. And lastly, for the Related Record ID value, choose the id field of the object you are bypassing. Now save your action and activate your process builder.

Related Topics | You May Also Like

 
  

Our Free Courses →

👉 Get Free Course →

📌 Salesforce Administrators

📌 Salesforce Lightning Flow Builder

📌 Salesforce Record Trigger Flow Builder

👉 Get Free Course →

📌 Aura Lightning Framework

📌 Lightning Web Component (LWC)

📌 Rest APIs Integration



Hi, This is Vijay Kumar behind the admin and founder of w3web.net. I am a senior software developer and working in MNC company from more than 8 years. I am great fan of technology, configuration, customization & development. Apart of this, I love to write about Blogging in spare time, Working on Mobile & Web application development, Salesforce lightning, Salesforce LWC and Salesforce Integration development in full time. [Read full bio] | | The Sitemap where you can find all published post on w3web.net