on the bottom of this page http://jquery.bassistance.de/validate/demo/
I did get jsVal working, it needs to be used with validating by complete form instead of individual fields On May 12, 12:16 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > That is now bundled. Where did you find the note? I thought I removed them.. > > Jörn > > On Mon, May 12, 2008 at 5:40 PM, JP <[EMAIL PROTECTED]> wrote: > > > your website says "jquery.delegate.js - special event delegation, > > required" but I don't see that in the download... > > > On May 12, 4:40 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> > > wrote: > > > > You many want to try a jQuery based validation > > > instead:http://bassistance.de/jquery-plugins/jquery-plugin-validation/ > > > > Just released version 1.3. Let me know if you need help with it. > > > > Jörn > > > > On Mon, May 12, 2008 at 8:10 AM, JP <[EMAIL PROTECTED]> wrote: > > > > > In an $.ajax option beforsend, I want to call a function to validate > > > > a form using jsVal script > > > > > (jsVal is here: http://jsval.fantastic-bits.de/The home page shows > > > > examples) > > > > > I tried the following: > > > > ... > > > > $.ajax({ > > > > beforeSend: showRequest, > > > > ... > > > > > function showRequest(){//alert('showRequest'); > > > > var objForm = document.forms["contactForm"]; > > > > validateStandard(objForm, 'error'); > > > > } > > > > > The alert will show but, validateStandard() is not processed. > > > > jquery ignores this and proceeds ahead with submittal, which is > > > > successful. > > > > > How can I correctly use a third party script like jsval to validate > > > > the form before it is submitted by jquery ajax ?