Even after reading those two links I can not figure out the answer to
my question. :(

Brot wrote:
> Hello,
>
> http://www.b-list.org/weblog/2007/nov/22/newforms/
> http://blog.michaeltrier.com/2007/11/23/getting-started-with-newforms
>
>   Bernd
>
> On 26 Feb., 07:28, shabda <[EMAIL PROTECTED]> wrote:
> > I have a newform form. It has data bound to it. But it may be invalid.
> > I want to get the data bound to each of its field. How can I do this?
> > I can not use form.cleaned_data because that would work only when the
> > form was valid. If I try
> > for name, value in form.fields.iteritems():
> >    print name, value
> >
> > This prints <name_of_field>, <FieldType of field> while I want the
> > values.
--~--~---------~--~----~------------~-------~--~----~
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