+ Start a Discussion

phone number should contain >4 & <6

ple help the above validation rule in SFDc


If I understand correctly, you want to make sure that the Phone Number field (standard field on a standard object I'm assuming) has more than 4 characters but less than 6.  If this is incorrect let me know, this rule should cover it:


  LEN(Phone) < 4,
  LEN(Phone) > 6