Skip to content

Commit e51466d

Browse files
authored
Merge pull request #923 from CristianNi/Add-missing-french-characters-to-validation-rules
Add missing french characters from validation rule
2 parents bc5e97e + e63b8c1 commit e51466d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/languages/jquery.validationEngine-fr.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@
9999
"alertText": "* Seuls les chiffres sont acceptés"
100100
},
101101
"onlyLetterSp": {
102-
"regex": /^[a-zA-Z\u00C0-\u00D6\u00D9-\u00F6\u00F9-\u00FD\ \']+$/,
102+
"regex": /^[a-zA-Z\u0152\u0153\u0178\u00C0-\u00D6\u00D9-\u00F6\u00F9-\u00FD\u00FF\ \']+$/,
103103
"alertText": "* Seules les lettres sont acceptées"
104104
},
105105
"onlyLetterNumber": {
106-
"regex": /^[0-9a-zA-Z\u00C0-\u00D6\u00D9-\u00F6\u00F9-\u00FD]+$/,
106+
"regex": /^[0-9a-zA-Z\u0152\u0153\u0178\u00C0-\u00D6\u00D9-\u00F6\u00F9-\u00FD\u00FF]+$/,
107107
"alertText": "* Aucun caractère spécial n'est accepté"
108108
},
109109
// --- CUSTOM RULES -- Those are specific to the demos, they can be removed or changed to your likings

0 commit comments

Comments
 (0)