Apply style to validator