So I am writing a program that checks for an employee pay, the user enters a fullname (firstname, lastname) and then a number of pieces that needs to be processed, how would you validate that the full name is acceptable?
for example we enter in the name texbox the name "John Smith" ===> this is a valid username
and if we enter "John...... Smith" it is invalid
or "John" ======> invalid
How would I check if its only text? and two parts?
Thank you