Add hideVar after validation click