Skip to content

Releases: Bien-Glitch/fusion.form.validator

v2.0.0

19 Jun 16:10
9b2c190
Compare
Choose a tag to compare

🚀 What's Changed

  • The plugin now has its own classes to avoid polluting the global space.
  • The element selector $el(selector, context) has been changed to $fs(selector, context).
  • To access the validator and the utility methods, the element selector must be used to instantiate the plugin.
  • Made configuration easier and seamless.
  • Changed the names of the config sub-options

🚀 New Features

  • Added new Configuration options under the config sub-option:
    • showIcons
    • useDefaultStyling
    • initWrapper

🚀 Fixes

  • Fixed bugs in Validation Process.
  • Optimized validation processes for better performance.

Get started with the docs

V1.1.0

11 Mar 15:27
Compare
Choose a tag to compare

🚀 Highlight

  • Caps Lock Alert Config:
    • Added new config option method validationTexts - validator.validationTexts

🚀 New Feature

  • Added Caps Lock state alert when typing in Password field.

Fixes

  • Fixed minor bug in Password validation when there's confirm password field and minlength and/or maxlength attributes are set on Password field
  • Refactored code for better performance.

v1.0.0

23 Feb 11:04
c2b44a2
Compare
Choose a tag to compare

Initial Release:

  • Check if initialized form has errors before submission and optionally prevent submission and display errors if any.
  • Validation for required form fields. This includes and is not limited to:
    • Name field
    • Username field
    • Email field
    • Phone Number field
    • Password field
    • Confirm Password field
  • Show customized errors for inputs with minlength and / or maxlength attributes.
  • Option for floating label using the form-label-group class.
  • (optional) text for label for fields that are not required when using form-label-group (floating label) class, and much more.
  • Built-in Utility functions / methods for easier manipulation.
  • Chainable methods for easier use.
  • Easy configuration options.

Read the docs to get started