How to condition text entry in uppercase

Thank you, well received but the constraint does not accept my space in the field "name and surname"
I want this command to accept uppercase entries with spaces