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
+26-13Lines changed: 26 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ jQuery Form Validator is a **feature rich and multilingual** jQuery plugin that
39
39
40
40
### Support for HTML5
41
41
42
-
As of version 2.2 you can use this plugin as a fallback solution for the validation attributes in the HTML5 spec. Add the module `html5` to the module declaration and you can use the following native features:
42
+
This plugin can serve as a fallback solution for the validation attributes in the HTML5 spec. With the [html5](http://www.formvalidator.net/#configuration_html5)module you can use the following native features:
@@ -136,13 +136,14 @@ Read the documentation for the UK module at [http://formvalidator.net/#uk-valida
136
136
***trim**
137
137
***trimLeft**
138
138
***trimRight**
139
-
***upper** — (convert all letters to upper case)
140
-
***lower** — (convert all letters to lower case)
141
-
***capitalize** — (convert the first letter in all words to upper case)
142
-
***insertRight** — (declare a text that should be inserted at the end of the value, attribute data-sanitize-insert-right)
143
-
***insertLeft** — (declare a text that should be inserted at the beginning of the value, attribute data-sanitize-insert-left)
144
-
***escape** — (convert < > & ' " to html entities)
145
-
***numberFormat** — (declare the attribute data-sanitize-number-format with any of the formats described on http://numeraljs.com/. Note that this rule requires that numeral.js is included in the page)
139
+
***upper** — Convert all letters to upper case
140
+
***lower** — Convert all letters to lower case
141
+
***capitalize** — Convert the first letter in all words to upper case
142
+
***insertRight** — Declare a text that should be inserted at the end of the value, attribute data-sanitize-insert-right
143
+
***insertLeft** — Declare a text that should be inserted at the beginning of the value, attribute data-sanitize-insert-left
144
+
***escape** — Convert < > & ' " to html entities
145
+
***strip** — Comma separated list with words that gets automatically removed
146
+
***numberFormat** — Declare the attribute data-sanitize-number-format with any of the formats described on http://numeraljs.com/. Note that this rule requires that numeral.js is included in the page
146
147
147
148
Read the documentation for the sanitation module at [http://formvalidator.net/#data-sanitation](http://formvalidator.net/#data-sanitation)
148
149
@@ -248,12 +249,24 @@ You can cause an element to be validated upon the firing of an event, by attachi
248
249
249
250
## Localization
250
251
251
-
This plugin comes with translations for English, German, French Spanish and Swedish. You can also choose to override the error
252
+
This plugin comes with translations for English, Polish,
253
+
Romanian,
254
+
Danish,
255
+
Norwegian,
256
+
Dutch,
257
+
Czech,
258
+
Catalan,
259
+
Russian,
260
+
Italian,
261
+
French,
262
+
German,
263
+
Swedish and
264
+
Portuguese. You can also choose to override the error
252
265
dialogs yourself. Here you can read more about [localization](http://formvalidator.net/#localization)
0 commit comments