Django From wizard get form data from previous step

1.7k Views Asked by At

I want to create a checkout or submit form as the last step of a form wizard. It should display all data from previous steps and add a Captcha or 'Terms of service' checkbox.

I know how to modify the context for each step, but I can't find a way how to access from data.

1

There are 1 best solutions below

1
On BEST ANSWER

Never mind, I got the solution from the code base.

You need to call WizardView.get_cleaned_data_for_step(step)