validate
Here are 500 public repositories matching this topic...
-
Updated
Oct 11, 2021 - TypeScript
-
Updated
Mar 7, 2019 - JavaScript
- [ Y] Are you running the latest version?
- [ Y] Have you included sample input, output, error, and expected output?
- [ Y] Have you checked if you are using correct configuration?
- [ N] Did you try online tool?
Description
When a json includes a number, and running the code example appearing in fast-xml-parser site, causes
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
Aug 12, 2021 - JavaScript
-
Updated
Sep 21, 2021 - JavaScript
-
Updated
Sep 9, 2021 - JavaScript
-
Updated
Oct 6, 2021 - Go
-
Updated
Mar 1, 2017 - HTML
-
Updated
Nov 10, 2020 - JavaScript
-
Updated
Sep 29, 2021 - PHP
-
Updated
Nov 2, 2020 - TypeScript
-
Updated
Oct 9, 2021 - HTML
-
Updated
Mar 20, 2019 - Shell
-
Updated
Jul 20, 2021 - C#
-
Updated
Jan 7, 2020 - JavaScript
-
Updated
Aug 2, 2021 - Java
-
Updated
Jul 29, 2021 - Go
-
Updated
Jan 1, 2017 - HTML
-
Updated
Oct 3, 2021 - JavaScript
-
Updated
Sep 21, 2021 - TypeScript
-
Updated
Oct 8, 2021 - JavaScript
Add the supported locales for various validators by default reactrix support english and french languages.
you will find all locales in locales folder
Example :
{
"messages": {
"alpha" : "The {{input}} field may only contain alphabetic characters"
}
}-
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