Refactored previous code, files, and folder structure
Pre-release
Pre-release
Refactored previous code:
- From 'form.validation.js' to 'fusion.form.validator.js'.
- Form field validation data key
changed fromdata-is-validated
todata-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).