Skip to content

Commit 02f5676

Browse files
committed
fixed readme...
1 parent 9c74853 commit 02f5676

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
@@ -45,7 +45,7 @@ This plugin was created to minimize javascript logic in the html code when deali
4545

4646
* Show help information automatically when input is focused
4747
* Validate given values immediately when input is blurred.
48-
* Inline error messages is also possible. If you add attribute data-validation-error-msg to an element the value of that attribute will be displayed instead of the error dialog that the validation function referrs to.
48+
* Make validation optional by adding attribute data-validation-optional="true" to the element. This means that the validation defined in data-validation only will take place in case a value is given.
4949

5050

5151
## Validate inputs on blur
@@ -175,8 +175,7 @@ var jQueryFormLang = {
175175
...
176176
```
177177

178-
Inline validation is also possible. If you add attribute data-validation-error-msg to an element, the value of that attribute will
179-
be displayed instead of the error dialog that the validation function referres to.
178+
Inline error messages is also possible. If you add attribute data-validation-error-msg to an element the value of that attribute will be displayed instead of the error dialog that the validation function referrs to.
180179

181180
## Simple captcha example
182181
```php

0 commit comments

Comments
 (0)