Little bug fix: spaces won't be removed.
When an error occurs the data stays in the input field.