src/jquery.validation.js
function delegateDynamicValidation() {

            if (!options.dynamic.settings.trigger) {
                return false;
            }

            // {debug}
            options.debug && window.Debug.log({
                'node': node,
                'function': 'delegateDynamicValidation()',
                'message': 'OK - Dynamic Validation activated on ' + node.length + ' form(s)'
            });
            // {/debug}

            if (!node.find('[' + _data.validation + '],[' + _data.regex + ']')[0]) {

                // {debug}
                options.debug && window.Debug.log({
                    'node': node,
                    'function': 'delegateDynamicValidation()',
                    'arguments': 'node.find([' + _data.validation + '],[' + _data.regex + '])',
                    'message': 'ERROR - [' + _data.validation + '] not found'
                });
                // {/debug}

                return false;
            }

            var event = options.dynamic.settings.trigger + delegateSuffix;
            if (options.dynamic.settings.trigger !== "focusout") {
                event += " change" + delegateSuffix + " paste" + delegateSuffix;
            }

            $.each(
                node.find('[' + _data.validation + '],[' + _data.regex + ']'),
                function (index, input) {

                    $(input).unbind(event).on(event, function (e) {

                        if ($(this).is(':disabled')) {
                            return false;
                        }

                        //e.preventDefault();

                        var input = this,
                            keyCode = e.keyCode || null;

                        _typeWatch(function () {

                            if (!validateInput(input)) {

                                displayOneError(input.name);
                                _executeCallback(options.dynamic.callback.onError, [node, input, keyCode, errors[input.name]]);

                            } else {

                                _executeCallback(options.dynamic.callback.onSuccess, [node, input, keyCode]);

                            }

                            _executeCallback(options.dynamic.callback.onComplete, [node, input, keyCode]);

                        }, options.dynamic.settings.delay);

                    });
                }
            );
        }
function delegateDynamicValidation() {

            if (!options.dynamic.settings.trigger) {
                return false;
            }

            // {debug}
            options.debug && window.Debug.log({
                'node': node,
                'function': 'delegateDynamicValidation()',
                'message': 'OK - Dynamic Validation activated on ' + node.length + ' form(s)'
            });
            // {/debug}

            if (!node.find('[' + _data.validation + '],[' + _data.regex + ']')[0]) {

                // {debug}
                options.debug && window.Debug.log({
                    'node': node,
                    'function': 'delegateDynamicValidation()',
                    'arguments': 'node.find([' + _data.validation + '],[' + _data.regex + '])',
                    'message': 'ERROR - [' + _data.validation + '] not found'
                });
                // {/debug}

                return false;
            }

            var event = options.dynamic.settings.trigger + delegateSuffix;
            if (options.dynamic.settings.trigger !== "focusout") {
                event += " change" + delegateSuffix + " paste" + delegateSuffix;
            }

            $.each(
                node.find('[' + _data.validation + '],[' + _data.regex + ']'),
                function (index, input) {

                    $(input).unbind(event).on(event, function (e) {

                        if ($(this).is(':disabled')) {
                            return false;
                        }

                        //e.preventDefault();

                        var input = this,
                            keyCode = e.keyCode || null;

                        _typeWatch(function () {

                            if (!validateInput(input)) {

                                displayOneError(input.name);
                                _executeCallback(options.dynamic.callback.onError, [node, input, keyCode, errors[input.name]]);

                            } else {

                                _executeCallback(options.dynamic.callback.onSuccess, [node, input, keyCode]);

                            }

                            _executeCallback(options.dynamic.callback.onComplete, [node, input, keyCode]);

                        }, options.dynamic.settings.delay);

                    });
                }
            );
        }
function delegateDynamicValidation ( ) { if ( ! options . dynamic . settings . trigger ) { return false ; } // {debug} options . debug && window . Debug . log ( { 'node' : node , 'function' : 'delegateDynamicValidation()' , 'message' : 'OK - Dynamic Validation activated on ' + node . length + ' form(s)' } ) ; // {/debug} if ( ! node . find ( '[' + _data . validation + '],[' + _data . regex + ']' ) [ 0 ] ) { // {debug} options . debug && window . Debug . log ( { 'node' : node , 'function' : 'delegateDynamicValidation()' , 'arguments' : 'node.find([' + _data . validation + '],[' + _data . regex + '])' , 'message' : 'ERROR - [' + _data . validation + '] not found' } ) ; // {/debug} return false ; } var event = options . dynamic . settings . trigger + delegateSuffix ; if ( options . dynamic . settings . trigger !== "focusout" ) { event += " change" + delegateSuffix + " paste" + delegateSuffix ; } $ . each ( node . find ( '[' + _data . validation + '],[' + _data . regex + ']' ) , function ( index , input ) { $ ( input ) . unbind ( event ) . on ( event , function ( e ) { if ( $ ( this ) . is ( ':disabled' ) ) { return false ; } //e.preventDefault(); var input = this , keyCode = e . keyCode || null ; _typeWatch ( function ( ) { if ( ! validateInput ( input ) ) { displayOneError ( input . name ) ; _executeCallback ( options . dynamic . callback . onError , [ node , input , keyCode , errors [ input . name ] ] ) ; } else { _executeCallback ( options . dynamic . callback . onSuccess , [ node , input , keyCode ] ) ; } _executeCallback ( options . dynamic . callback . onComplete , [ node , input , keyCode ] ) ; } , options . dynamic . settings . delay ) ; } ) ; } ) ; }
Delegates the dynamic validation on data-validation and data-validation-regex attributes based on trigger.

@returns {Boolean} false if the option is not set
Delegates the dynamic validation on data - validation and data - validation - regex attributes based on trigger .