Changes in showing correct/error messages in the date field