[Fixed]-Django does not recieve TextArea content in POST, but all other fields are sent fine

1👍

✅

You really should be using a ModelForm here. But in any case, I think your issue has to do with a poor Form definition:

class ApplicationForm(forms.Form):
    username = forms.CharField(max_length=34)
    discriminator = forms.IntegerField(max_value=9999)
    current_rank = forms.CharField(max_length=30)
    # application = forms.TextInput()
    application = forms.CharField(widget=forms.Textarea)

And that should fix the problem. You should really try to move to a ModelForm as it will make doing things like saving your models much easier.

Leave a comment