M
M
mcrack2021-09-09 23:00:02
Django
mcrack, 2021-09-09 23:00:02

How to skip page in django-formtools?

Hello, I'm trying to create a Wizard Form in Django using django-formtools, it works fine, but I want to make it so that if the first page is checked, then the third page is skipped, if you go back and uncheck, then the third page will reappear how can i do it?

What I tried to do:
I overridden the process_step () method and made it so that if the first page is checked, then it deletes the element from the form_list, but in this case, if I click on the button that sends to the previous page and uncheck it, then page 3 no longer appears, what am I doing wrong please tell me?

Maybe some other way to do it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question