Re: undefined in Textarea

2009-01-25 Thread issya
ined. This happens > > no matter if it is filled in or not. Any idea what is going on here? > > If I take the Textarea widget off it is fine. > > 'undefined' is not a Python value, but a Javascript one. Is it > possible that you have some Javascript running on your form page - > possi

Re: undefined in Textarea

2009-01-25 Thread Daniel Roseman
area widget off it is fine. 'undefined' is not a Python value, but a Javascript one. Is it possible that you have some Javascript running on your form page - possibly an onsubmit handler - with a bug that's causing it to replace the value of the textarea with 'undefined'? It might help to add the line

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 =