Hi people,
I've built a user registration form based on the example from Django
Book (http://www.djangobook.com/en/beta/chapter12/ -- Handling
Registration). I extended the form with several additional fields, two
of them being CheckboxSelectMultipleFields.

The problem is that after calling:

errors = form.get_validation_errors(data)

which in effect calls prepare() on every field, my data from those
selects are trimmed and contain only the last checked item. So when I
have the following choices from which I check the last two

choices = (
        ('0', 'foo'),
        ('1', 'bar'),
        ('2', 'hello'),
)

only 'hello' gets saved to the DB (MySQL 5.0.38).
Is there any solution...other than trying to rewrite everything with
newforms? :)

Thanks,
Dan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to