- Changes in API:
- Instantiation mode and separation between global module and "validator" instance by settings.
- Method
validateMap
is now calledvalidate
and only validates the complete data map. - Added
validateField
andvalidateFieldset
methods.
- Configure by fieldsets.
- Added
onlyUI
config. log
,settings
andutilityContext
are now public in module.- Utility context now supports all validator.js package methods directly.
- Fixed many bugs.
- Tested more use cases.
- Changes in API:
- Method
validate
now only validates complete form. - Method
reset
now only resets complete form. - Method
inspect
now only inspects complete form. - Added
validateField
andvalidateFieldset
. - Added
resetField
andresetFieldset
. - Added
inspectField
andinspectFieldset
.
- Method
- Space trimmers.
- Configuration by global settings and fields settings.
- Validation of data maps.
- Custom validators.
- Custom fields different from form elements.
- Internationalization support.
- Evented form validation functionalities.
- HTML5 integration.
- Extract data from forms elements as data maps (possibly nested objects).
- API to integrate with your own libraries.