Skip to main content
Jasmeet Randhawa a posé une question dans #Data Management
Hi folks,

 

How can I make sure that a custom field only has .com, org or .edu or .net as last 4 characters. I hope its a validation rule

 

Thanks!!
3 réponses
  1. 18 sept. 2016, 16:08

    If you want to make the formula case -insensitive, you could modify Geoff's formula to be this:

    CASE(

    RIGHT(LOWER(Site__c), 4),

    ".com", 1,

    ".net", 1,

    ".org", 1,

    ".edu", 1,

    0

    ) <> 1

0/9000