FormValidation v0.8.1 is released, supports Bootstrap 4 alpha 3

BootstrapValidator v0.5.0 Released

News

New features

Error message

  • #2, #387: Provide the default message
  • #93, #385: Support translating error messages
  • #282, #347, #465: Support dynamic message

Events

Support dynamic option

Support dynamic fields

New options

  • #164: Add container option for indicating the element showing all errors
  • #175: Showing errors in tooltip or popover
  • #297: Add feedbackIcons option to enabled/disable feedback icons for particular fields
  • #356: Add group option
  • #420: Add enabled option enable/disable particular validator
  • #422: Add excluded option to exclude particular field

New APIs

Misc

Changes

  • $.fn.bootstrapValidator.helpers renames mod_11_10 to mod11And10, mod_37_36 to mod37And36
  • Remove submitHandler option. See upgrading to v0.5.0 guide.

Improvements

  • #244: Only enable the submit buttons if all fields are valid, thanks to @smeagol74
  • #262: Improve the updateStatus() method. The plugin now doesn't show the errors, feedback icons of given field if there are uncompleted validators
  • #274: Fix feedback icons in input-group, thanks to @tiagofontella
  • #287, #291: Only send the submit button which is clicked. It's an enhancement for #238
  • #348: The uri validator now provides an option to support private/local network address
  • #364: Clicking the feedback icon also effect to the checkbox, radio fields
  • #366: Don't change the enable setting when the new one is the same
  • #382: Add JSHint to Grunt build
  • #388: Allow to override the default options. Useful for using multiple forms in the same page
  • #393: The remote validator adds support for dynamic url and method type (GET/POST), thanks to @ericnakagawa
  • #426: Add test suite
  • #431: Add built time to the build file
  • #432: Define the callback via data-bv-callback-callback attribute
  • #451: Validation of numeric fields with decimal steps, thanks to @Azuka
  • #456: Adjust the feedback icon position for .input-group element

Bug fixes

  • #288: Fix date validator issue on IE8
  • #292: Fix identical validator issue with not clearing has-error class, thanks to @alavers
  • #305, #306, #307: Fix inclusive option in the between, greaterThan and lessThan validators, thanks to @johanronn77
  • #310, #475: The date validator still return valid if the value doesn't contain digits
  • #311: file validation extension is case sensitive
  • #312: Fix broacast typo in the uri validator, thanks to @mrpollo
  • #313: Fix the file validator issue on IE 8
  • #314: The creditCard validator doesn't work on IE 8
  • #315: The cvv validator doesn't work on IE 8
  • #325: The threshold option doesn't work on IE 8
  • #358: The zipCode validator doesn't work for Canadian zip code
  • #371, #483, #487: Added the letters 'H', 'W' and 'Z' in letter list for Canada postal code, thanks to @jzhang6
  • #375: Don't submit form when the callback validator completes and the submit button isn't clicked
  • #377: The id, vat validators should return false if the country code is not supported
  • #389: When using multiple forms with HTML attributes on the same page, the plugin options will be the same as the last one
  • #401: stringLength validator allows spaces after max length
  • #411: Fix the ean validator when the check digit is zero, thanks to @manish-in-java
  • #417: IPv6 validator doesn't work
  • #425: Custom trigger event is ignored by field validators
  • #447: Skip the _isExcluded() when initializing the form. This fixes #269, #273. Thanks to @AlaskanShade
  • #492, #493: Fixed Chilean ID (RUT/RUN) finished in 'K' or 'k', thanks to @marceloampuerop6

Language packages

  • #396: German language package, thanks to @logemann
  • #474: Hungarian language package, thanks to @blackfyre
  • #478: Simplified and traditional Chinese language package, thanks to @tureki
  • #494: Chilean Spanish language package, thanks to @marceloampuerop6

Document

Upgrading to v0.5.0

See upgrading to v0.5.0 guide.

Contributors

Thank to the contributor:

Download