added validation check snippet to contact template