def METHOD_NAME(self):
    super().METHOD_NAME()
    if not (self.cleaned_data.get('target_name') or self.cleaned_data.get('cone')):
        raise forms.ValidationError('Please enter either a target name or cone search parameters.')
    elif self.cleaned_data.get('target_name') and self.cleaned_data.get('cone'):
        raise forms.ValidationError('Please only enter one of target name or cone search parameters.')