Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
clientside_validation
Commits
d48555ce
Commit
d48555ce
authored
Oct 03, 2013
by
Jelle
Browse files
this.optional(element) for phone validation
parent
626e2cbe
Changes
1
Show whitespace changes
Inline
Side-by-side
clientside_validation.js
View file @
d48555ce
...
...
@@ -1285,7 +1285,7 @@
result
=
res
;
}
});
return
result
.
result
;
return
this
.
optional
(
element
)
||
result
.
result
;
},
jQuery
.
format
(
'
Please fill in a valid phone number
'
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment