validation for view survey