jazzband / django-formtools

A set of high-level abstractions for Django forms

Home Page:https://django-formtools.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot move to "first step" or "prev step" in example without filling in fields

ShaheedHaque opened this issue · comments

I have coded up the example from the docs (plus or minus) and notice that when I am on the second screen, I cannot move to "first step" or "prev step" in example without filling in fields:

image

Now, I'm a bit hazy on front end stuff, but I presume this is because the fields are required and the button is an input with type="submit". The obvious solution is to not use a submit but then I presume I will run into the issue that all moves between steps presently require a POST. Is that a correct understanding?

To put it another way, any GET repositons to the first step. I see that #99 and its associated PR #101 attempt to address this. Is my understanding correct?

OK, I found formnovalidate. It might be useful to add this to the example "first step" and "prev step" buttons...