String only Letters

I have a registration for anonymous users, and I want them when the fill their first name and last name to be only letters but since it is a string he can add letters and numbers but I want to restrict this fields from entering numbers or it says that First name should be only letters after detecting the number in the field.
1 answers

Hi Mohammed Aghbari ,


In this case , use validation(Regular Expression) rule to restrict  your string field  

Regular Expression (^[A-Za-z]+$)




Hope this help !!