I see that forms without buttons are very popular (like [here](https://nomadlist.com/)). How to create a form that will be automatically submit for two different fields in Django, after the user selects the field (example 1) or type in the text and clicks something (it means completes typing) (example 2):

**1.) ChoiceField**

**forms.py**

```
class Search(forms.Form):
    field = forms.ChoiceField(choices=MY_CHOICES)

```

**views.py**

```
if request.method == "GET":
    form = Search(request.GET)
    if form.is_valid():
    print('it's work')

```

**template.html**

```
<form method="GET">
  {% csrf_token %}
  {{ form }}
</form>

```

**2.) CharField**

**forms.py**

```
class Search(forms.Form):
    field = forms.CharField(max_length=10)

```

\* *other files like above*