def validate(self, valueList, qstn_id):
        result = S3QuestionTypeAbstractWidget.validate(self, valueList)
        type = self.get("Type")
        realWidget = survey_question_type[type]()
        return realWidget.validate(valueList, qstn_id)

# =============================================================================
This will validate the data passed in to the widget
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/S3QuestionTypeLinkWidget.validate