Re: Dynamically appending a step to FormWizard

2008-10-02 Thread Rock
I cannot show you the entire code since the company lawyers have not had time to allow me to release this snippet, but I did get this working. However it was not easy and required some interaction with the guys who created FormWizard. My approach was to create a DummyForm which I put in the

Re: Dynamically appending a step to FormWizard

2008-10-02 Thread Rock
I can't show you the code yet since I haven't got permission to post it cleared from my company, but I got this working. (It was not easy and req --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.

Dynamically appending a step to FormWizard

2008-09-30 Thread Jeroen
Hi All, I'm adding a step to FormWizard based on user input from the previous (first) step: def process_step(self, request, form, step): if step == 0: self.form_list.append(get_form2(form.cleaned_data['mode'])) Above works, a second (and final) form is created based on the value of