Re: undefined in Textarea

2009-01-25 Thread issya
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: > >

Re: undefined in Textarea

2009-01-25 Thread Daniel Roseman
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

undefined in Textarea

2009-01-25 Thread issya
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