Storing dynamic fields in Django forms
Posted
by hekevintran
on Stack Overflow
See other posts from Stack Overflow
or by hekevintran
Published on 2010-03-24T08:04:48Z
Indexed on
2010/03/24
8:13 UTC
Read the original article
Hit count: 260
django
|django-forms
Django's form library has a feature of form sets that allow you to process dynamically added forms. For example you would use form sets if your application has a list of bookmarks you could use form sets to process multiple forms that each represent a bookmark.
What about if you want to dynamically add a field to a form? An example would be a survey creation page where you can dynamically add an unlimited number of questions. How do you handle this in Django?
© Stack Overflow or respective owner