'Process form'

def save(self, *args, **kwargs):

    if self.instance:
        if self.is_valid():
            if (self.cleaned_data['active'] == 'active'):
                self.instance.active = True
            if (self.cleaned_data['active'] == 'inactive'):
                self.instance.active = False
            self.instance.save()
