Re: How can I verify correction of the form with SelectMultiple widget field?

2009-03-12 Thread Alex Gaynor
On Thu, Mar 12, 2009 at 5:33 AM, Malcolm Tredinnick < malc...@pointy-stick.com> wrote: > > On Thu, 2009-03-12 at 02:55 -0700, K*K wrote: > > I got a strange problem. > > > > I specify a ChoiceField as SelectMultiple widget but got problem in > > validation. > > > > Can django ChoiceFIeld support v

Re: How can I verify correction of the form with SelectMultiple widget field?

2009-03-12 Thread Malcolm Tredinnick
On Thu, 2009-03-12 at 02:55 -0700, K*K wrote: > I got a strange problem. > > I specify a ChoiceField as SelectMultiple widget but got problem in > validation. > > Can django ChoiceFIeld support valid with a List ? or how can I do > it ? > > The source code is following: > > # Source code of fo

How can I verify correction of the form with SelectMultiple widget field?

2009-03-12 Thread K*K
I got a strange problem. I specify a ChoiceField as SelectMultiple widget but got problem in validation. Can django ChoiceFIeld support valid with a List ? or how can I do it ? The source code is following: # Source code of forms.py: COMPONENTS_CHOICE = [] for component in get_components():