Skip to content

Commit 3f0f5dc

Browse files
authored
Merge pull request #312 from Semantic-Org/Semantic-Org/4570
Fixed typos in javascript/validate-form.js
2 parents cca7121 + 5f6d527 commit 3f0f5dc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server/files/javascript/validate-form.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ semantic.validateForm.ready = function() {
5555
identifier : 'skills',
5656
rules: [
5757
{
58-
type : 'minCount[1]',
58+
type : 'minCount[2]',
5959
prompt : 'Please select at least two skills'
6060
}
6161
]
@@ -240,7 +240,7 @@ semantic.validateForm.ready = function() {
240240
field2: {
241241
rules: [
242242
{
243-
type : 'exactly[dog]',
243+
type : 'isExactly[dog]',
244244
prompt : '{name} is set to "{value}" that is totally wrong. It should be {ruleValue}'
245245
}
246246
]

0 commit comments

Comments
 (0)