how do make Account Address field as mandatory field using Validation Rule?

Its not possible with standard functionality (Either PageLayout, Field Required option) so its achievable with the help of Salesforce Validation Rule:

Here is the validation rule to make the standard address fields as mandatory.
Setup –> Customize –> Accounts –> Validation Rules –> New
Formula Condition for Billing Address:
OR( BillingStreet = NULL, BillingCity = NULL,  BillingState = NULL, BillingPostalCode = NULL)

Error Message:
Please Enter Billing Street, Billing City, Billing State & Billing PostalCode.

Error Location:
Top of page

If you want to require the shipping address, replace from BillingStreet to ShippingStreet and so for.

Formula Condition for Shipping Address:
OR( ShippingStreet = NULL, ShippingCity = NULL, ShippingState = NULL, ShippingPostalCode = NULL)

Error Message:
Please Enter Shipping Street, Shipping City, Shipping State & Shipping PostalCode.

Written by 

I am Sakthivel Madesh, a certified Salesforce Advanced Developer & Administrator working on Salesforce Technology since 2011. I am currently working in Techforce Services as Sr. Salesforce Developer. I have worked on multiple technologies Like PHP, Java, Salesforce, I am very passionate about Salesforce and to earn 15x Salesforce Certification. I love Trailhead for learning Salesforce Skill and Become a Trailhead 6x Ranger too. I Love to Learn & Share my Salesforce knowledge to Salesforce Learners/Beginner using My Blog and Salesforce Community.

Leave a Reply

Your email address will not be published. Required fields are marked *