add message and styles on input with erros