Reputation: 1995
I am trying to use the dynamic django form script from http://www.djangosnippets.org/snippets/714/
The dynamic form is generated, but I am having hard time retrieving submitted fields through form.cleaned_data['myfield']
There are few comments on the snippet page, those didn't work either.
Upvotes: 2
Views: 588
Reputation: 41664
Have you made sure that you have called is_valid() on the form first, and that the field is passing it's validation routines?
Upvotes: 1