Now check if the required fields are not empty