Andrew
Andrew
@jochen1727 This will work always when validate is a success: ``` $('#form').validator('update').on('valid.bs.validator', function (e) { // validate is ok write your code here ... }); ```
@flightsurvey add this code to validator.js Line 294: ``` Validator.prototype.toggleSubmit = function () { if (!this.options.disable) return this.$btn.toggleClass('disabled', this.isIncomplete() || this.hasErrors()) // add this line this.$btn.attr('disabled', this.isIncomplete() || this.hasErrors()) }...