Error messages appears even if the user didn't type anything in a field.
I don't think that's a good practice, we should warn the user only if he typed something that's not correct.