Adrian Holovaty wrote: > On 12/9/06, Brian Victor <[EMAIL PROTECTED]> wrote: >> One of the things I was hoping for in newforms but haven't found is a >> way to do a composite form field that uses multiple <input> elements >> that reduce to a single python object. E.g., [snip] >> Is there a way to obtain this behavior? > Yes, I'm pretty sure this is possible by writing a custom Widget > class. I'll try to implement your example and check it into a new file > django/newforms/extra/widgets.py. Stay tuned...
I haven't seen that file appear yet. Have you been able to take a look at this? Should it just be a matter of overriding render and id_for_label to return the composited widgets? -- Brian --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---