jazzband / django-formtools

A set of high-level abstractions for Django forms
https://django-formtools.readthedocs.io
BSD 3-Clause "New" or "Revised" License
801 stars 135 forks source link

Goto a step via the GET method #99

Open eagle-r opened 7 years ago

eagle-r commented 7 years ago

I noticed that the wizard only allows you to go to a step via the POST method. It would be really helpful if this could also be done via GET.

Obviously this won't save or validate the data on the current step, but it seems that doesn't happen currently anyway.

The issue with a pure POST approach is that it forces you to use multiple submit buttons everywhere which in turn means that standard webpage actions such as hitting Enter in a form may mean that the form won't behave as expected. The buttons can be arranged in the page so that the Next button appears first in the HTML but then you have to jump through CSS hoops in order to get the buttons to appear where you want them - usually with the Next button visually on the bottom right.

eriktelepovsky commented 7 years ago

+1

eriktelepovsky commented 7 years ago

I created a pull request for this #101