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