Browse Source

#344: Update submit handler example

nghuuphuoc 11 years ago
parent
commit
ea82bcfa5f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      demo/submitHandler.html

+ 3 - 3
demo/submitHandler.html

@@ -60,7 +60,7 @@
     $(document).ready(function() {
         $('#defaultForm').bootstrapValidator({
             message: 'This value is not valid',
-            live: 'disabled',
+            //live: 'submitted',
             feedbackIcons: {
                 valid: 'glyphicon glyphicon-ok',
                 invalid: 'glyphicon glyphicon-remove',
@@ -83,10 +83,10 @@
                             max: 30,
                             message: 'The username must be more than 6 and less than 30 characters long'
                         },
-                        remote: {
+                        /*remote: {
                             url: 'remote.php',
                             message: 'The username is not available'
-                        },
+                        },*/
                         regexp: {
                             regexp: /^[a-zA-Z0-9_\.]+$/,
                             message: 'The username can only consist of alphabetical, number, dot and underscore'