def METHOD_NAME(self):
    data = self.cleaned_data['name_field']
    if self.cleaned_data['user'] and data:
        raise forms.ValidationError(_(
            'If a user has been selected '
            'this field should remain empty.'))
    return data