Dynaically fields to a formwizard form

2009-08-24 Thread dingue fever
Hi, Is it possible to dynamically add fields to a formwizard form. I have been able to add the fields I want but if the form fails validation the new dynamic fields disappear when the form re-renders. Is it possible to override this so that I can validate and return the new fields if the validati

Re: Dynaically fields to a formwizard form

2009-08-27 Thread dingue fever
he form >         form.is_bound = True >         form.data = request.POST >         if form.is_valid(): >     return render(request, 'my_template.html', locals()) > >             cool! > On Aug 25, 7:16 am, dingue fever wrote: > > > Hi, > > > Is it possib

Formwizard dropdown lists

2009-09-15 Thread dingue fever
Hi, I have modelform that I use in a formwizard and I populate a few of the dropdown selects by accessing the database and creating a list for the choice. However when I add an item to a table via the admin site and then goto my formwizard page the new item does not show up in the list until I re