Name Field Validation
Posted on 2016-09-13
Please be kind enough to provide me with a code to best validate a name field with or without initials.
E.g - The name field should be represented like the following;
Kumar. S or
All the above tests should pass without showing an error message.
If the name ends with a dot or starts with a dot it should give a message as *Required
any other data should be prevented on key input.