implement logic on error check when making new survey with missing fields