Checking if the users have entered all the required data before creating a survey or submiting a response