def valid(self, answer):

        # @todo add validation here
        # widget = S3QuestionTypeNumericWidget()
        # widget.validate(answer)
        # if widget.ANSWER_VALID:
        return True

    # -------------------------------------------------------------------------
Used to validate a single answer
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/S3AbstractAnalysis.valid