[jQuery] [validate] Suggested new feature for validation.

[jQuery] [validate] Suggested new feature for validation.


I have a case where I'm setting up an ASP.NET MVC View that partially
renders several Partial View Controls. Each of these controls will be
wrapped by a <div></div> element within the Form. This View will be
used as a Wizard and we will be utilizing JavaScript to show and hide
each various div element as they navigate the wizard.
My issue is that there can be only 1 form tag which contains all of
the Partial View Controls to be displayed. We cannot commit a partial
registration to the database only a complete registration so we want
to save our submit button for the end of the process and this is why
we can have only one form element. Each control within each Partial
View has many different validation rules specified like required,
email, etc. Now, we only want the current div being displayed to
validate not the entire form as we are going to base our decision on
whether or not they get to navigate to the next section of the
registration process on if all the values entered into the currently
displayed inputs are acceptable.
I've decided the only real way to get the validation working the way
I'd like it to is to set the $().validate method on the div level
instead of the form level. Is it possible to make the validation
framework more flexible in the future in this manner or is there a way
currently where we can make our application function in this way?
Thanks in advance!