Jorn, thanks for your comment.

I'm a very happy user for your plugin. This is great for our applications.
For 99% of our forms using Form Validation is a nice experience. But using
your demo:

http://jquery.bassistance.de/validate/demo-test/custom-methods-demo.html

and inserting(add another input to the form) several times(100 for example)
and fire that form you could see: that form hangs IE and wait 5-6 seconds to
return all field validations.



2007/6/29, Jörn Zaefferer <[EMAIL PROTECTED]>:


Web Specialist wrote:
> Jorn Form Validation is a great great piece of code but looks like
> doesn't scale for monster form. What's wrong with my form?
You are the first that reported performance problem. Therefore I see
three approaches to this problem:

    * Split the form into subforms and perform seperate validation; the
      dependency checks aren't necessary anymore, performance should
      improve a lot - your part
    * Tune performance for forms with more then 100 elements
    * Enable the plugin to work with "virtual" subforms: Instead of
      checking all elements at once (current) or splitting the form
      (first point), check only a subform defined by some element swith
      class subform

The first approach seems to be easiest: Just specify a submitHandler for
the first form and second form that shows the next step. The only
problem is to submit all three forms as one. Using JS to copy values
from the first two forms into the third could pose another performance
problem.

--
Jörn Zaefferer

http://bassistance.de


Reply via email to