def get_from_form(self, instance, values):
        instance[self.field.name] = values.get(self.field.name, False)
standard HTML submits checkboxes of a form only when they are checked.
dataset/ETHPy150Open lsaffre/lino/lino/modlib/extjs/elems.py/BooleanFieldElement.get_from_form