adding validator to comments fields