I'm using django's built-in Form wizard SessionWizardView
to split a form across several pages.
When calling the Form wizard, users are being displayed an Select
input field which expects an option A or B to be chosen. This choice affects the next steps to be displayed. This means that I basically have two totally different form lists - which of these gets processed by the Form wizard depends on the choice in the first step, e.g:
Step 1: Choice A -> use form list A
or
Step 1: Choice B -> use form list B
What is an elegant , django-friendly way to achieve this dynamic workflow?