Ahh, that was it. Thanks for the help. I was doing this
data.comments = $(form).find('inp...@name=comments]').val();
instead of...
data.comments = $(form).find('textar...@name=comments]').val();
Thank you!
On Jan 25, 3:26 pm, Daniel Roseman
wrote:
> On Jan 25, 7:51 pm, issya wrote:
>
>
On Jan 25, 7:51 pm, issya wrote:
> I am making a modelform that looks like the below.
>
> class ContactForm(forms.ModelForm):
> name = forms.CharField(widget=forms.TextInput(attrs=
> {'class':'required'}))
> phone = forms.CharField(widget=forms.TextInput(attrs=
> {'class':'require
I am making a modelform that looks like the below.
class ContactForm(forms.ModelForm):
name = forms.CharField(widget=forms.TextInput(attrs=
{'class':'required'}))
phone = forms.CharField(widget=forms.TextInput(attrs=
{'class':'required'}))
comments = forms.CharField(widget
3 matches
Mail list logo