Skip to content
ryanseddon edited this page Sep 30, 2012 · 1 revision

Stepy plugin

For who needs to add support of H5F in Stepy plugin, just add this code:

jQuery.extend ({
    validator: {
        setDefaults: function () {
            }
    }
});
jQuery.fn.extend ({
    validate: function () {
        return {
            element: function (field) {
                    return field.get (0).checkValidity ();
                },
            focusInvalid: function () {
                }
        }
    }
});
Clone this wiki locally