If you want to allow any kind of letters (not only A-Z) you're looking for the letternumeric validator.Validate qty of checkboxes in a group (same name) have been checked, using min, max or range.If you feel the need to configure your form validation using Java Script you probably should look into jquery-validation or or any of the other superb form validation solutions out there.But there is of course a way to accomplish this using j Query-Form-Validator as well, by using the module name - The name of the validator, which is used in the validation attribute of the input element.Return false to prevent the default behaviour when adding/removing error messages.
You declare them using the attribute data-sanitize.
The implemented rules are: Here you can read more about how to create your own modules.
Read the setup guide if you want to know which configuration options that are available when setting up the validation.
Here you can read more about styling of the form and error dialogs.