You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ This plugin was created to minimize javascript logic in the html code when deali
45
45
46
46
* Show help information automatically when input is focused
47
47
* 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.
49
49
50
50
51
51
## Validate inputs on blur
@@ -175,8 +175,7 @@ var jQueryFormLang = {
175
175
...
176
176
```
177
177
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.
0 commit comments