You need to sign in to do that
Don't have an account?
srikanth sfdc
Starting letter to be alphabet using validation rule
Hi All,
In Accounts Tab, we have Name field , so here i need a validation rule that when i enter name in AccountName field the first letter it should be allowed letter not the numbers or special characters
Example
Account Name - Rakesh (correct format)
Account Name - rakesh (correct format)
Account Name - R12@ (Correct format)
Account Name - r12@ (Correct format)
Account Name - 1Rakesh (wrong format)
Account Name - #12@ (Wrong format)
as here first letter should be letter (mandatory) when i enter from second letter its up to users wish as number or specials characters can be taken
In Accounts Tab, we have Name field , so here i need a validation rule that when i enter name in AccountName field the first letter it should be allowed letter not the numbers or special characters
Example
Account Name - Rakesh (correct format)
Account Name - rakesh (correct format)
Account Name - R12@ (Correct format)
Account Name - r12@ (Correct format)
Account Name - 1Rakesh (wrong format)
Account Name - #12@ (Wrong format)
as here first letter should be letter (mandatory) when i enter from second letter its up to users wish as number or specials characters can be taken
http://stackoverflow.com/questions/3690855/regular-expression-related-first-character-alphabet-second-onwards-alphanumeric
Try the below validation code:
NOT(REGEX(Name, "[a-zA-Z]{1}.*"))
Regards,
Madhan Raja M