Skip to content

Instantly share code, notes, and snippets.

@anevins12
Last active August 29, 2019 16:36
Show Gist options
  • Save anevins12/7fafe92efe37ee4673238ea02f256fd9 to your computer and use it in GitHub Desktop.
Save anevins12/7fafe92efe37ee4673238ea02f256fd9 to your computer and use it in GitHub Desktop.
Remove form browser validation
(function disableFormBrowserValidation() {
'use strict';
const $forms = jQuery('form:visible');
$forms.attr('novalidate', '');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment