jpillora / jquery.async.validator

A jQuery plugin for fully customisable asynchronous client-side validations.
http://jpillora.github.com/jquery.async.validator/
1 stars 0 forks source link

Group AJAX validations don't work. #3

Closed matthewtuck closed 11 years ago

matthewtuck commented 11 years ago
function ajaxHelper(userOpts, r) {

  var defaults = {
        method: "GET",
        timeout: 15 * 1000
      },
      exec = r._exec,
      promptContainer = r.triggerField || r.field,

The code above uses r.field which is a field for field validations, but a function for group validations, so it doesn't work at all for the latter.

jpillora commented 11 years ago

fixed