title: Submit button is not working in bootstrap validator even if there is no incorrect field
body: <p>In my HTML and JavaScript code, all the things are working nicely except the submit button, which should submit the page if there is no error in any of the form fields, but it's not submitting.</p>
  
  <pre><code>    &lt;div class="container"&gt;
          &lt;div class="panel panel-default"&gt;
              &lt;div class="panel-heading"&gt;Registration&lt;/div&gt;
              &lt;div class="panel-body"&gt;
                  &lt;form id="registration-form" method="post" class="form-horizontal"&gt;
  
                      &lt;div class="form-group"&gt;
                          &lt;label class="col-md-2 control-label" for="fName"&gt;First Name&lt;/label&gt;
                          &lt;div class="col-md-4"&gt;
                              &lt;input type="text" class="form-control" id="fName" name="fName" placeholder="First Name"/&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
  
                      &lt;div class="form-group"&gt;
                          &lt;label class="col-md-2 control-label" for="lName"&gt;Last Name&lt;/label&gt;
                          &lt;div class="col-md-4"&gt;
                              &lt;input type="text" class="form-control" id="lName" name="lName" placeholder="Last Name"/&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
  
                      &lt;div class="form-group"&gt;
                          &lt;label class="col-md-2 control-label" for="email"&gt;E-mail ID&lt;/label&gt;
                          &lt;div class="col-md-4"&gt;
                              &lt;input type="text" class="form-control" id="email" name="email" placeholder="Your E-mail address"/&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
  
                      &lt;div class="form-group"&gt;
                          &lt;label class="col-md-2 control-label"  for="password"&gt;Password&lt;/label&gt;
                          &lt;div class="col-md-4"&gt;
                              &lt;input type="password" class="form-control"  id="password" name="password" placeholder="Password"/&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
  
                      &lt;div class="form-group"&gt;
                          &lt;label class="col-md-2 control-label" for="confirmPasword"&gt;Confirm Password&lt;/label&gt;
                          &lt;div class="col-md-4"&gt;
                              &lt;input type="password" class="form-control" id="confirmPasword" name="confirmPasword" placeholder="Confirm Password"/&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
  
                      &lt;div class="form-group"&gt;
                          &lt;div class="col-md-6 col-xs-offset-2 "&gt;
                              &lt;button type="submit" class="btn btn-success" name="submit" &gt;Submit&lt;/button&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
  
                  &lt;/form&gt;
  
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;!-- jQuery (necessary for Bootstrap's JavaScript plugins) --&gt;
      &lt;script     src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"&gt;     &lt;/script&gt;
      &lt;!-- Include all compiled plugins (below), or include individual files as needed --&gt;
      &lt;script src="js/bootstrap.min.js"&gt;&lt;/script&gt;
      &lt;script src="js/bootstrapValidator.min.js" type="text/javascript"&gt;     &lt;/script&gt;
  &lt;/body&gt;
  
  &lt;script type="text/javascript"&gt;
      $(document).ready(function(){
          $('#alwaysEnableButtonForm')
          var validator = $("#registration-form").bootstrapValidator({
              feedbackIcons:{
                  valid:"glyphicon glyphicon-ok",
                  invalid:"glyphicon glyphicon-remove",
                  validating:"glyphicon glyphicon-refresh"
              },
              fields:{
                  fName:{
                      message:"First Name is required",
                      validators:{
                          notEmpty:{
                              message:"Please provide the First Name"
                          },
                          stringLength:{
                              max : 25,
                              message: "The first Name should not be more than 25 characters long"    
                          }
                      }
                  },
                  lName:{
                      message:"Last Name is required",
                      validators:{
                          notEmpty:{
                              message:"Please provide the Last Name"
                          },
                          stringLength:{
                              max : 25,
                              message: "The Last Name should not be more than 25 characters long" 
                          }
                      }
                  },
                  email:{
                      message:"E-mail address is required",
                      validators:{
                          notEmpty:{
                              message:"Please an E-mail address"
                          },
                          stringLength:{
                              min:6,
                              max:45,
                              message: "E-mail address must be between 6 and 45 characters long"
                          },
                          emailAddress:{
                              message:"E-mail address is invalid"
                          }
                      }
                  },
                  password:{
                      validators:{
                          notEmpty:{
                              message:"Password is required"
                          },
                          stringLength:{
                              min:8,
                              message:"Password must be 8 digits long atleast"
                          },
                          different:{
                              field:"email",
                              message:"E-mail address and password can not match"
                          }
  
                      }
                  },
                  confirmPasword:{
                      validators:{
                          notEmpty:{
                              message:"This field is required"
                          },
                          identical:{
                              field:"password",
                              message:"This should must match the first password"
                          }
                      }
                  }
              }
          })
          .on('success.fields.fv', function(e, data) {
              if (data.fv.getInvalidFields().length &gt; 0) {    // There is invalid  field
                  data.fv.disableSubmitButtons(true);
              }
          });
  
      });
  &lt;/script&gt;
  </code></pre>