0

Please could you advise of any examples that use an accordion wizard with a form such that each panel is validated independently rather than validating them all at the end. I am using jquery validation.

To do this would I have to have each panel as a separate form or is it possible to have just one form for the whole accordion? I have not been able to find a single example of this.

Ive seen this plugin which does what i want but the accordion wizard is nicer :) but it doesnt use jquery validation http://www.jqueryscript.net/demo/Accordion-Slider-Style-jQuery-Form-Wizard-Plugin-Formalize/

Ive also seen this example which doesnt appear to work or have any input form inside Bootstrap Accordion Wizard

Any help is much appreciated Thanks

Community
  • 1
  • 1
user2274191
  • 843
  • 2
  • 14
  • 24
  • You are going to need to be able to determine when the users clicks "Next Step" so that you can do validation (not sure if this is possible using Accordion Wizard for Bootstrap, you will need to check). Then you should be able to use the element function from jQuery validator to validate all the fields in that accordion, see: http://jqueryvalidation.org/Validator.element – joshhunt Dec 01 '14 at 01:22
  • I've addressed this problem with great detail more than once. See [this](http://stackoverflow.com/a/17751236/594235) and [this](http://stackoverflow.com/a/20481497/594235). – Sparky Dec 02 '14 at 23:25
  • thanks i will look at them. In my defence the docs for these things are wither all over the place or incomplete (i am not referring to specifc control in particular - just the general case) – user2274191 Dec 03 '14 at 17:06

0 Answers0