validate
Here are 525 public repositories matching this topic...
-
Updated
Apr 10, 2022 - TypeScript
-
Updated
Mar 7, 2019 - JavaScript
-
Updated
Apr 9, 2022 - JavaScript
Description
It would be great if validator skipped certain expressions.
A case I noticed this could be useful is a framework that allows using javascript expressions as attribute values in XML.
The format is usually like this:
<tagName value="5" text="{{ isVisible && isEditable }}"/>
<tagName value="5" text="{{ array.length > 5 }}"/>
As you can see, there is the case of u
Here is an example of current error message:
The 'email_address' field must not be empty.
Is there a way to pass field label into schema so the error message is displayed like so:
The 'Email Address' field must not be empty.
I know we can use custom messages for each field but curious if there's a lazier approach here :)
-
Updated
Mar 26, 2022 - JavaScript
-
Updated
Apr 7, 2022 - Go
-
Updated
Apr 8, 2022 - TypeScript
-
Updated
Mar 8, 2022 - JavaScript
-
Updated
Mar 1, 2017 - HTML
Improve JsDoc
-
Updated
Nov 19, 2021 - PHP
-
Updated
Mar 3, 2022 - HTML
-
Updated
Nov 2, 2020 - TypeScript
-
Updated
Feb 18, 2022 - C#
-
Updated
Mar 20, 2019 - Shell
-
Updated
Apr 10, 2022 - TypeScript
-
Updated
Jan 7, 2020 - JavaScript
-
Updated
Aug 2, 2021 - Java
-
Updated
Apr 8, 2022 - JavaScript
-
Updated
Jul 29, 2021 - Go
-
Updated
Jan 1, 2017 - HTML
-
Updated
Oct 3, 2021 - JavaScript
-
Updated
Jun 16, 2021 - Python
Improve this page
Add a description, image, and links to the validate topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the validate topic, visit your repo's landing page and select "manage topics."
I would like to give this to the people who are new and would like to start contributing to validator.js.
The current version in
isMobilePhone validation
, we have less than 195 phone validations i.eIn the code https://github.com/validatorjs/validator.js/blob/master/src/lib/isMobilePhone.js, the validations exist from line 5 to line 119, which means we have probably 119 - 5 countries phone