Closed ghost closed 13 years ago
Thank you for your feedback.
I'll consider your proposal and see if it would be a reasonable way to go. For what it's worth, the forms should work without javascript, even in the current iteration of the plugin. This due to the fact that the submit button is used as the next button in the wizard. It's just the caption of the button that changes.
I think the solution for the back and next (and also submit) buttons is incorrect. Javascript is making the wizard, so javascript should create those buttons, tu put them in HTML and to modify them in JS is an error. I think a better solution is to create those buttons from Javascript with a default HTML markup and to permit the user pass a custom HTML markup for the buttons too.
Finally, Nex button should not be converted to Submit button, Next button should dissapear in the last step (or be disabled). Submit button should be declared in HTML, and with any preferred element (input type submit, input type image, button, etc). Changing that our HTML is cleaner and can work even without JS.