|
503 | 503 | * Completely removed dependency on element IDs, though they are still used (when present) to link error labels to inputs. Achieved by using |
504 | 504 | an array with {name, message, element} instead of an object with id:message pairs for the internal errorList. |
505 | 505 | * Added support for specifying simple rules as simple strings, eg. "required" is equivalent to {required: true} |
506 | | -* Added feature: Add errorClass to invalid field�s parent element, making it easy to style the label/field container or the label for the field. |
| 506 | +* Added feature: Add errorClass to invalid field's parent element, making it easy to style the label/field container or the label for the field. |
507 | 507 | * Added feature: focusCleanup - If enabled, removes the errorClass from the invalid elements and hides all errors messages whenever the element is focused. |
508 | 508 | * Added success option to show the a field was validated successfully |
509 | 509 | * Fixed Opera select-issue (avoiding a attribute-collision) |
|
516 | 516 | * Customize error element via errorElement option |
517 | 517 | * Added validator.refresh() to find new inputs in the form |
518 | 518 | * Added accept validation method, checks file extensions |
519 | | -* Improved dependency feature by adding two custom expressions: ":blank" to select elements with an empty value and �:filled� to select elements with a value, both excluding whitespace |
| 519 | +* Improved dependency feature by adding two custom expressions: ":blank" to select elements with an empty value and ":filled" to select elements with a value, both excluding whitespace |
520 | 520 | * Added a resetForm() method to the validator: Resets each form element (using the form plugin, if available), removes classes on invalid elements and hides all error messages |
521 | 521 | * Fixed docs for validator.showErrors() |
522 | 522 | * Fixed error label creation to always use html() instead of text(), allowing arbitrary HTML passed in as messages |
523 | 523 | * Fixed error label creation to use specified error class |
524 | 524 | * Added dependency feature: The requires method accepts both String (jQuery expressions) and Functions as the argument |
525 | 525 | * Heavily improved customizing of error message display: Use normal messages and show/hide an additional container; Completely replace message display with own mechanism (while being able to delegate to the default handler; Customize placing of generated labels (instead of default below-element) |
526 | 526 | * Fixed two major bugs in IE (error containers) and Opera (metadata) |
527 | | -* Modified validation methods to accept empty fields as valid (exception: of course �required� and also �equalTo� methods) |
| 527 | +* Modified validation methods to accept empty fields as valid (exception: of course "required" and also "equalTo" methods) |
528 | 528 | * Renamed "min" to "minLength", "max" to "maxLength", "length" to "rangeLength" |
529 | 529 | * Added "minValue", "maxValue" and "rangeValue" |
530 | 530 | * Streamlined API for support of different events. The default, submit, can be disabled. If any event is specified, that is applied to each element (instead of the entire form). Combining keyup-validation with submit-validation is now extremely easy to setup |
|
0 commit comments