+ 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 

SteveMo__cSteveMo__c

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.

SteveMo__cSteveMo__c

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.