Re: newforms: message "this field is required" although required=False

2007-09-08 Thread patrickk
On Sep 8, 1:31 am, olivier <[EMAIL PROTECTED]> wrote: > Hi, > > > widget=forms.Select(attrs={'class': 'vSelectField'})) > > This let me think you use a javascript validator. Are you sure the > message comes from the server ? > You should try form.is_valid() or whatever. no javascript.

Re: newforms: message "this field is required" although required=False

2007-09-07 Thread olivier
Hi, > widget=forms.Select(attrs={'class': 'vSelectField'})) This let me think you use a javascript validator. Are you sure the message comes from the server ? You should try form.is_valid() or whatever. > just printed "form.is_bound" in my view: the result is "True", > although I didn´t

Re: newforms: message "this field is required" although required=False

2007-09-07 Thread patrickk
just printed "form.is_bound" in my view: the result is "True", although I didn´t invoke the Form with any data. btw: I´m using the current SVN-version and did an update last week (before the update it worked). any help with this? thanks, patrick On 7 Sep., 16:53, patrickk <[EMAIL PROTECTED]>

newforms: message "this field is required" although required=False

2007-09-07 Thread patrickk
I´m creating a dynamic newform and when going to the page, I´m getting an error-message "This Field is required", although required ist set to False when building the Form. Here´s part of the code: field_list = [] date = forms.ChoiceField(label='Wann', required=False,