+ Start a Discussion
Imtiaz PashaImtiaz Pasha 

Hi All i want to write validation rule for address should not be blank which is standarad field in SF , any idea below is the screenshot

Below are highlighted fields i want to make mandatory User-added image
Best Answer chosen by Imtiaz Pasha
RituSharmaRituSharma
Use below formula:

OR( Street= NULL, City = NULL, State= NULL, PostalCode = NULL,Country= NULL)

All Answers

VinayVinay (Salesforce Developers) 
Hi,

Try below 
 
OR( BillingStreet = NULL, BillingCity = NULL,  BillingState = NULL, BillingPostalCode = NULL)

https://developer.salesforce.com/docs/atlas.en-us.usefulValidationRules.meta/usefulValidationRules/fields_useful_validation_formulas_account_address.htm

Thanks,
Imtiaz PashaImtiaz Pasha
Hi Vinay,

Am writing validation rule on lead page which contains address as shown in the screenshot , i have alreday written validation rule on account contains billing address.
RituSharmaRituSharma
Use below formula:

OR( Street= NULL, City = NULL, State= NULL, PostalCode = NULL,Country= NULL)
This was selected as the best answer