ソースを参照

#16: Disable client side validation in HTML 5

nghuuphuoc 12 年 前
コミット
c28998c00a

+ 2 - 0
dist/js/bootstrapValidator.js

@@ -50,6 +50,8 @@
 
             var that = this;
             this.$form
+                // Disable client side validation in HTML 5
+                .attr('novalidate', 'novalidate')
                 .addClass(this.options.elementClass)
                 .on('submit', function(e) {
                     that.formSubmited = true;

ファイルの差分が大きいため隠しています
+ 1 - 1
dist/js/bootstrapValidator.min.js


+ 2 - 0
src/js/bootstrapValidator.js

@@ -50,6 +50,8 @@
 
             var that = this;
             this.$form
+                // Disable client side validation in HTML 5
+                .attr('novalidate', 'novalidate')
                 .addClass(this.options.elementClass)
                 .on('submit', function(e) {
                     that.formSubmited = true;