+ Start a Discussion
Sumit  61Sumit 61 

Please enter www before entering URL

I am using this validation formula but it's not working

OR(LEN(URL__c) = 1,NOT(CONTAINS("www.",URL__c)))
Prithviraj_ChavanPrithviraj_Chavan
Hi Sumit,
for what u need this formula please explain so I can create 1 for you
Sumit  61Sumit 61
I need a validation which check www. and .com.
And Not allow to www.com 
Prithviraj_ChavanPrithviraj_Chavan
OR(
RIGHT( URL__C, 12) <> ".company.com",
LEFT( URL__C, 4) <> "www.")

 
brahmaji tammanabrahmaji tammana
You can try this.

OR ( RIGHT( Website__c , 4) <> '.com', LEFT(Website__c , 3) <> 'www' , Website__c ='www.com' )

Take care of case sensitive things.

Thanks
Brahma