Skip to content

Instantly share code, notes, and snippets.

@kbaum
Created September 13, 2011 18:52
Show Gist options
  • Save kbaum/1214686 to your computer and use it in GitHub Desktop.
Save kbaum/1214686 to your computer and use it in GitHub Desktop.
clientSideValidations.callbacks.form.fail = function(form, eventData) {
$.scrollTo('.error', 500, {offset:{left:0,top:-25}} );
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment