function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
NOT(REGEX(Phone, "\\D*?(\\d\\D*?){10}"))
It is right method for Validate phone number 10 digit and text.
we have use Text Field with regex validation rule for saving the record in Exact phone Number formate like
Create a Text Phone_c custom field
add the validation rule for this field
NOT(OR(REGEX(Phone__c, "^[0-9]{10}")))
its give you the exact result what you want.
Hope it will help you to solve your issue.
kinldy mark Best ANSWER if it works for you.
Thanks
karthik
I guess it should be as simple as this:
NOT(REGEX( Phone, "(\\d){10}"))
This means that "Only Allow 10 digits". d - stands for DIGITS and {10} - just 10 of them.