📄️ addField
Defines validation rules for the new field.
📄️ addRequiredGroup
Makes the new fields group required. It could be a group of checkboxes or radio buttons.
📄️ onSuccess
Callback if validation passed.
📄️ onFail
Callback if validation failed.
📄️ revalidateField
Method to trigger a field validation manually. Returns a promise with a boolean value - valid/invalid field.
📄️ revalidate
Method to trigger the whole form validation manually. Returns a promise with a boolean value - validation passes/fails.
📄️ refresh
Method to refresh the whole form - fields settings, clear errors messages/styles/classes.
📄️ destroy
Method to turn off the validation, remove all event listeners/errors/messages/styles/classes.
📄️ removeField
Method to remove validation rules/events/errors from the particular field.
📄️ removeGroup
Method to remove validation rules/events/errors from the particular group.
📄️ showErrors
Method to show errors manually.
📄️ showSuccessLabels
Method to show success labels manually.
📄️ onValidate
Callback triggered after every validation run.
📄️ setCurrentLocale
Method to change current locale.
📄️ revalidateGroup
Method to trigger a group validation manually. Returns a promise with a boolean value - valid/invalid.