Answer by Kian for Skip steps on a django FormWizard
There are different ways for this(as mentioned in other answers), but one solution which I think could be useful is overwriting the get_form_list() method:something like:from collections import...
View ArticleAnswer by tijs for Skip steps on a django FormWizard
To make certain forms optional you can introduce conditionals in the list of forms you pass to the FormView in your urls.py:contact_forms = [ContactForm1, ContactForm2]urlpatterns = patterns('',...
View ArticleAnswer by gustavo80br for Skip steps on a django FormWizard
I did it other way, overriding the render_template method. Here my solution. I didn't know about the process_step()...def render_template(self, request, form, previous_fields, step, context): if not...
View ArticleAnswer by Andriy Drozdyuk for Skip steps on a django FormWizard
The hook method process_step() gives you exactly that opportunity.After the form is validated you can modify the self.form_list variable, and delete the forms you don't need.Needles to say if you logic...
View ArticleSkip steps on a django FormWizard
I have an application where there is a FormWizard with 5 steps, one of them should only appear when some conditions are satisfied.The form is for a payment wizard on a on-line cart, one of the steps...
View Article
More Pages to Explore .....