Hi all! I'm moving a really long form on a FormWizard[1] using the class "
SessionWizardView
" everything is fine. All works in adding and editing of the model I'm using on the modelset.
Now I have some questions to improve the "quality" of the wizard.
I added a navbar with the active class for the current step. I wold like to make the navbar clickable and let the user jump to a specific step. Because I'm using the wizard in adding end in editing and the validation is form by form (step by step), how I can make the navbar clickable?
1) In adding I can click on the previous forms
2) In editing I can click on every step
In the django doc the previous button is creating with this code:
<button name="wizard_goto_step"
class="btn btn-success"
type="submit"
value="{{ wizard.steps.prev }}">
Previous
</button>
Is possible to create a link for a specific step?
What about the check if the step was visited and validated?
Thank you
Karim N. Gorjux
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACeuRGXKhdZXHuxWbp8UfRiVVQcUuSOLa8nHV3s3qQTXW0n%2BnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment