Skip to content

Refactored previous code, files, and folder structure

Pre-release
Pre-release
Compare
Choose a tag to compare
@Bien-Glitch Bien-Glitch released this 01 Sep 09:53
· 2 commits to 102 since this release

Refactored previous code:

  • From 'form.validation.js' to 'fusion.form.validator.js'.
  • Form field validation data key
    changed from data-is-validated to data-fb-validate.

New features:

  • You can now check current version of validator (Log it into browser console);
  • Validator can now be instantiated uniquely or globally for all forms;
  • Optional configurations for validator added.
  • Added Email and Phone number.
  • Validation (Can be configured).