Adding error styles to the inputs.