def display(self, **attr):

        S3QuestionTypeAbstractWidget.initDisplay(self, **attr)
        self.field.requires = IS_IN_SET(self.getList())
        value = self.getAnswer()
        valueList = json2list(value)

        self.field.name = self.question.code
        input = CheckboxesWidget.widget(self.field, valueList, **self.attr)
        self.field.name = "value"
        return self.layout(self.question.name, input, **attr)

# =============================================================================
Adds the total value of the subscription (value(plan) + value(consumed
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/S3QuestionTypeMultiOptionWidget.display--crossover with--dataset/ETHPy150Open PressLabs/silver/silver/models.py/Subscription.add_total_value_to_document