Hello,

I ran into a problem recently (after updating to latest svn) where I'm
assigning a list to a widgets.MultipleHiddenInput field  but the list
is rendered as a string in the html form.

How do I assign a list to a multipleinput form field so it's rendered
appropriately?

The problem is exhibited when I do (in the view)
new_data['foo'] = [u'6', u'8']  or [6,8]
form = Form(new_data)

... then in the html the hidden input value="[u'6',
u'8']" instead of
name="foo_0" value="6"  and name="foo_1" value="8"

What am I doing wrong?  It's probably a recent patch I missed.

Thanks,

Milan
--~--~---------~--~----~------------~-------~--~----~
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