def METHOD_NAME(self):
    # replace custom field value field with proper one (ex. select)
    if self.instance and self.instance.custom_field_id:
        self.fields['value'] = self.instance.custom_field.get_form_field()