In contact object I have a Title field as type text. If anybody enters a number in this field, it should throw an error. How can I achieve this with avalidation rule?

2 Answers 2


The Error Condition Formula For validation rule..

NOT(REGEX(Title__c, "^[A-Z a-z ]+$"))

You can use regex to validate.

REGEX(SSN__c, "^[A-Za-z ]+$")

if it return true then your string is correct otherwise it return false and throw error.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .