[jQuery] Re: mixing validate, and ajaxSubmit

2008-07-18 Thread Andiih
Could (should) you add a classes section to the documentation. I know I could, but I don't feel worthy! Andrew On Jul 17, 6:07 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Yes, thats exactly it! > > You can still fall back to metadata, eg. class="required {min:2}" > (just include the metad

[jQuery] Re: mixing validate, and ajaxSubmit

2008-07-17 Thread Jörn Zaefferer
Yes, thats exactly it! You can still fall back to metadata, eg. class="required {min:2}" (just include the metadata plugin, part of the distribution). Jörn On Thu, Jul 17, 2008 at 1:32 PM, Andiih <[EMAIL PROTECTED]> wrote: > > Thanks Jörn > > But which of those methods is mapped to a class, and

[jQuery] Re: mixing validate, and ajaxSubmit

2008-07-17 Thread Andiih
Thanks Jörn But which of those methods is mapped to a class, and how ? The example at the top of the page uses class="required email". Could I use a class of "min(12)" for instance. Presumably not. So would it be a good assumption that all methods that do not have arguments are represented as

[jQuery] Re: mixing validate, and ajaxSubmit

2008-07-16 Thread Jörn Zaefferer
All available validation methods are listed here: http://docs.jquery.com/Plugins/Validation#List_of_built-in_Validation_methods Jörn On Wed, Jul 16, 2008 at 6:47 PM, Andiih <[EMAIL PROTECTED]> wrote: > > Fantastic - I'd guessed my way into getting it working (using > submitHandler with no argume

[jQuery] Re: mixing validate, and ajaxSubmit

2008-07-16 Thread Andiih
Fantastic - I'd guessed my way into getting it working (using submitHandler with no arguments) but hadn't realized that submitHandler can pass the form. I can make the handler much more generic. Thanks for that. What are the default classes that cause validation ? Andrew On Jul 16, 2:13 pm, "

[jQuery] Re: mixing validate, and ajaxSubmit

2008-07-16 Thread Jörn Zaefferer
Put the ajaxSubmit stuff into the submitHandler-callback, here is an example: http://jquery.bassistance.de/validate/demo/ajaxSubmit-intergration-demo.html Jörn On Wed, Jul 16, 2008 at 11:29 AM, Andiih <[EMAIL PROTECTED]> wrote: > > The behaviour I have is that the form is correctly validated, b