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
sreenathsreenath 

need only letters in first name field

Hi developers,

 

                        Here I didn't find any way to write a validation for enter only alphabets & no other symbols, numbers should not able to enter into the fields.

I tried different methods using OR(Contains(field_name__c, "/"),...........)

I think its not the proper way. getting errors when validating braces,dot,comma etc.

 

any suggestions please.

 

Thanks

Sreenath 

Steve :-/Steve :-/

You need to use a REGEX function for that

sreenathsreenath

Hi Steve,

 

              Thanks for your response. please provide sample of code, I am getting errors while need to do it.

 

 

Thanks

Sreenath

 

sreenathsreenath

Hi steve, 

              can u help on the same issue, how to add that message to visual force page.

Steve :-/Steve :-/

Sorry Sreenath, I don't know anything about VF, this forum is for Formulas and Validation Rules, you should ask over on the VF Discussion board.