Add a validation message.