Fix validation of input fields for names

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no 
| Tests pass?   | none
| Fixed tickets | https://github.com/sulu-cmf/sulu-standard/issues/350
| Doc           | none