Skip to content

Commit 84f1ce5

Browse files
committed
added documentation
1 parent 4467bc3 commit 84f1ce5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ So what has changed since version 1.x?
4343

4444
* A whole bunch of validation functions have been added (see below).
4545
* A modular design have been introduced, which means that some validation functions is default and others is
46-
part of a module. This in turn reduces server and bandwidth costs.
46+
part of a module. This in turn lowers server and bandwidth costs.
4747
* You no longer need to prefix the validation rules with "validate_".
4848
* Error message position now defaults to "element".
4949
* The optional features (validateOnBlur and showHelpOnFocus) is now enabled by default.
@@ -62,7 +62,6 @@ So what has changed since version 1.x?
6262
* **custom***Validate value against regexp*
6363
* Show help information automatically when input is focused
6464
* Validate given values immediately when input looses focus.
65-
* Make validation dependent on another input of type checkbox being checked by adding attribute data-validation-if-checked="name of checkbox input"
6665
* Make validation optional by adding attribute data-validation-optional="true" to the element. This means
6766
that the validation defined in data-validation only will take place in case a value is given.
6867
* Make validation dependent on another input of type checkbox being checked by adding attribute
@@ -240,7 +239,7 @@ var enErrorDialogs = {
240239
```
241240

242241
```html
243-
<form action="script.php" onsubmit="return $(this).validate(enErrorDialogs);">
242+
<form action="script.php">
244243
...
245244
</form>
246245
<script src="js/jquery.min.js"></script>

0 commit comments

Comments
 (0)