This site contains the document for old version. Please upgrade to the latest version v1.0.0

News

The latest news about FormValidation

BootstrapValidator v0.4.1 Released

From this version, the plugin is available on jQuery plugins site.

Improvements

  • #106: Prevent the validate() method from submit the form automatically. So we can call validate() method to validate the form
  • #131: Doesn't trigger validation on the first focus
  • #145: The row state is now only marked as success if all fields on it are valid
  • #157: Added support for element outside of form using the selector option
  • #159, #163: User doesn't need to submit the form twice when remote validator complete, thanks to @jswale
  • #166, #167: The phone validator now also checks the length of US phone number, thanks to @gercheq

Bug fixes

Contributors

Thank to the contributors:

Download

BootstrapValidator v0.4.0 Released

New features

HTML 5 attribute Equivalent validator Equivalent HTML attribute
min="..." greaterThan validator
data-bv-greaterthan="true"
data-bv-greaterthan-value="..."
max="..." lessThan validator
data-bv-lessthan="true"
data-bv-lessthan-value="..."
maxlength="..." stringLength validator
data-bv-stringlength="true"
data-bv-stringlength-max="..."
pattern="..." regexp validator
data-bv-regexp="true"
data-bv-regexp-regexp="..."
required notEmpty validator data-bv-notempty="true"
type="color" color validator data-bv-hexcolor="true"
type="email" emailAddress validator data-bv-emailaddress="true"
type="range"
min="..."
max="..."
between validator
data-bv-between="true"
data-bv-between-min="..."
data-bv-between-max="..."
type="url" uri validator data-bv-uri="true"

Changes

Improvements

  • #133: The regexp validator allows to pass a string
  • #136: Support multiple elements with the same name
  • #140: Do not validate hidden (type="hidden") and invisible element, thanks to @easonhan007

Bug fixes

  • #126: Submit button remains disabled after calling custom submitHandler and the form is valid
  • #132: The fields.[fieldName].message option is not used when showing the error message

Contributors

Thank to the contributors:

Download

BootstrapValidator v0.3.3 Released

Improvements

  • #50: Don't validate disabled element
  • #120: Handle case where a field is removed after the bootstrap validation, thanks to @patmoore

Bug fixes

Contributors

Thank to the contributor:

Download

BootstrapValidator v0.3.2 Released

New features

Improvements

Contributors

Thank to the contributor:

Download

BootstrapValidator v0.3.1 Released

New features

Changes

  • Remove the columns option. Now the plugin works normally no matter how many columns the form uses

Improvements

  • #3, #92: Support more form controls on the same row
  • #72, #79: Improve updateStatus() method to make the plugin play well with another
  • #102: The resetForm method now only resets fields with validator rules

Bug fixes

  • #82, #84: The error messages aren't shown if the form field doesn't have label
  • #89: submitHandler or default submission isn't called after remote validation completes

Contributors

Thank to the contributors:

Download