function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RocksRocks 

phone number should contain >4 & <6

ple help the above validation rule in SFDc

tgk1tgk1

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:

 

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