Well, it's a bit strange... After some more testing, the remote validation seems to work like a charm when I don't set breakpoints in Firebug. But with breakpoints in Firebug, the remote validation is activated each time I focus another field (ie the input value has not been changed). It's REALLY strange. I don't understand why breakpoints in Firebug triggers these validations (a bug in Firebug ?). But it's not really important.
To conclude, there is no problem in the plugin. The remote validation works as it should. And thank you for your help. Laurent On 22 mar, 13:59, Jörn Zaefferer <joern.zaeffe...@googlemail.com> wrote: > Not sure what you are referring to. The remote validation is triggered > only when the input value changes. It doesn't cache previous results, > is that what you are looking for? > > Jörn > > On Sun, Mar 22, 2009 at 11:22 AM, Laurent <basque.bondiss...@gmail.com> wrote: > > > Hi all, > > > I want to use the "remote" method to validate a captcha. No big > > problem, it works. But, it doesn't seem optimized... > > > When I analyze all the Ajax calls with Firebug, it seems that an Ajax > > validation call is sent each time I focus another field on my form - > > after the captcha field (with remote validation) was focused -. > > In other words, the remote validation is called whether the captcha > > text is modified or not when we focus another field of the form. > > If the captcha text is not modified, why validating it once more ? > > In the JS code, i think it is interesting to look at the line 897 ("if > > ( previous.old !== value )"), I wonder it it works like it should. > > > See the URLhttp://www.tonmonde.org/notre_association/nous_contacter/ > > if you want to make some tests. > > > Thank you. > > > Laurent