Skip to content

Conversation

thomasballinger
Copy link

Wondering if custom validation function in the example should just be moved into the library since it's the only thing that makes sense to do.

@@ -80,10 +80,23 @@
}
}
};
var validateAllFieldsWithName = function (e) {
var $others = $form.find('input[name="'+$(this).attr('name')+'"]');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rename $others since it includes itself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants