Hey Guys
How and when do the django newforms validate forms and add errors to
the errors dictionary?
Im trying to make a dynamic form, so I add the data after creating the
form class and adding the attributes. This means that I will need to
'manually' call the form validation.
ex:
when I do form = SomeForm(request.POST) the fields are evaluated
automatically.
I want to call this evaluation manually so that I can d:
form = SomeForm()
form.setFileds(kwargs)
form.setData(equest.POST)
form.<evalutate field in form>
Thanks
Stephane
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---