'This will validate the data passed in to the widget'

def validate(self, valueList, qstn_id):

    qtype = self.get('Type')
    realWidget = survey_question_type[qtype]()
    return realWidget.validate(valueList, qstn_id)
