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

BootstrapValidator v0.4.0 Released

News

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