Thanks yun, it seems I need to look into a custom manipulator. I do
have one question though...

Can you have an arbitrary number of form fields or do you have to
define them all in the manipulator? An example would be if I want to be
able to add ingredient fields (with javascript) so I would say start
with 10 and then have an add button which would add another ingredient,
and then another ingredient, etc... I know how to do the javascript
bits but I'm assuming when I do: manipulator.do_html2python(new_data)
it will fail because it won't find matches for the newly added fields
right? Or can I specify a regex for the forms.TextField(field_name =
r'ingredient(?P<ingredient_id>\d+)' [...] ?


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